The top view shows an octagon (a prism with eight sides), a square inside it and a circle inside the square. So the object is a stack: a regular octagonal block at the bottom, a square block on it and a circular cylinder on top, all centred.
Looking from the arrow, the octagonal block appears as a wide rectangle divided by vertical lines into three parts: a narrow slanting face at the left, the wide front face in the middle and a narrow slanting face on the right (the vertical edges of the octagon). The square block appears as a rectangle narrower than the octagon, with no inner lines. The cylinder appears as a still narrower plain rectangle on top (width equal to the circle diameter), centred.
Option (1) shows exactly this: a three-part base, a plain square-block rectangle and a narrow centred top rectangle. Option (2) draws slanting lines that would show a pyramid or cone shaped base. Option (3) adds extra vertical lines on the square block, which has none. Option (4) puts the top rectangle off-centre to the left.
Answer: (1) the first figure