the distance from the base of a flagpole to a point on the ground is 24 feet. the flagpole has a height of 18. what is x the distance from the top of the flagpole to the ground.