the first triangle represent s the ladder's initial position. we are not sure what height on the wall is the top of the ladder, so we call it x. the base is 15 away from the house, so the base of the right triangle is 15. By Pythagoras, the hypotenuse (which is the length of the ladder) is
the second triangle represents the new position. the foot of the ladder is pull an additional 9 feet from the house, so the new base is 15 + 9 = 24, the height of the ladder on the wall decreases by 13, so the new height is x - 13. again, by Pythagoras, the length of the ladder is
Now the length of the ladder does not change, so we just equate the two formulas obtained.
Now, what do you think the length of the ladder is?