A wire is attached to the top of a pole. The pole is $2 \mathrm{ft}$ shorter than the wire, and the distance from the wire on the ground to the bottom of the pole is 9 ft less than the length of the wire. Find the length of the wire and the height of the pole.