Look at the block structure and figure out what it looks like from the front and from the side.
In each row, the tallest column determines the height you can see from that direction. Even if a taller column is hidden behind another one, from the front you only see the part that rises above the column in front.