A 20-foot piece of wire is attached from the top of a flagpole to a stake in the ground 7 feet from the base of the pole. Find the height of the flagpole.