A 40 m high tower is 9 m away from the point on the ground where there is a hook. A small pole is also standing in the exact middle of the tower and the hook. Now, a rope is tied to the top of the tower and to the hook on the ground, which is also touching the top of the pole.
The length of the middle pole and the rope tied to the tower and the hook are, respectively -