There are plenty of ways to do this, but I think the easiest one is using 2 Wedges and negating one before using the union operation. Sorry, I’m not the best at explaining.
I would begin by trying to make a roof with one large slanted tile… dont go for something more complicated like you showed in the picture. First try to do just one large tile by using different methods. Most methods that wont look amateur will require negation, so get good at this first…but definitely start with just one large slanted top roof, not multiple slants.
Like what @AceKiron said, you can use a wedge to make the slanted roof. If there’s an attic that intersects with the wedge, you can make an inner wedge negate and use that to get rid of the slant inside of the house, if that makes sense.