So if you take a 39 ft ladder and place its base 15 feet from the base of the wall, when you lean the ladder against the wall, the point where the ladder rests against the wall will be 36 feet above the ground.
Answer: 15 feet . Hope this helps you understand this problem a little better.