Two workers tied a 50 foot cable to the top of a pole they were going to cut down. The cable reached 40 feet from the base of the pole. How tall was the pole?