Count the vertical edges each prism contributes: left edge, a second edge close to it, and the right edge, and nothing else.
Using this count on the four options, options (1), (2) and (3) each contain one additional line on a single prism, which no prism of the plan can produce. Option (4) contains only the edges that the four triangular prisms generate, in the correct positions, so it is the correct elevation.
Answer: (4) elevation (4)