The top view contains four blocks: a narrow block at the top-left, a wide block at the top-centre (farthest), a wide block at the middle-left, and a narrow block at the bottom-right (nearest, since the arrow points up the page from the bottom).
Reading left to right in the elevation: the narrow top-left block, the wide middle-left block overlapping it, the wide far block overlapping the middle-left block on its right side, and the narrow nearest block on the right overlapping the far block.
The middle-left block is in front of the narrow top-left block and in front of the far block, so the right edge of the narrow block and the left edge of the far block must both end on the top of the middle-left block. The nearest narrow block is in front of the far block, so the right edge of the far block ends at the top of the nearest block.
The second answer figure is the only one that does this: the first figure draws the right edge of the narrow block down to the ground through the wide block, the third draws the left edge of the far block down through the wide block, and the fourth shows the middle block as a small narrow box instead of a wide one.
Answer: (2) the second answer figure