You are given the hypotenuse and one leg. You are trying to solve for the other leg. The hypotenuse would be the length of the string, 20 feet and the leg would be how far the string is tied from the base of the pole, 5 feet. Thus you can use the Pythagorean theorem to say 20^2=5^2+P^2 where P is how tall the pole is.
400=25+P^2
375=P^2
sqrt(375)=P
5sqrt(15)=P