The bottom of a ladder is resting 5 feet from the wall. The wall and the ground form a right angle. If the ladder is 10 feet long, how far up the wall does it reach