The flagpole is vertical to the ground,
The flagpole, the rope and the ground form a right triangle,
The formula of the topic is x2+52=(x+ 1)2, and the solution is x= 12m.
The height of the flagpole is12m.