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.
The solution is x= 12m,
So the height of the flagpole is 12 meters.