The top view shows six tilted rectangular blocks. Viewed from the arrow side (from the bottom of the plan), the corner nearest to the viewer and the two corners on either side of it show up as vertical edges, while the far corner of each block is hidden behind the block itself.
The upper-left block therefore shows one inner vertical edge (its nearest corner); the small lower-left block shows one inner edge; the right-hand tall block shows one inner edge; and the front blocks show one inner edge near their left end.
Option (1) wrongly adds extra edges on the lower-left block, option (3) wrongly adds an extra edge on the left tall block, and option (4) wrongly adds an extra edge on the right tall block. Only option (2) shows exactly the visible edges.
Answer: (2)