Let y be the distance from the base of the wall to the top of the ladder and let x bet the distance from the base of the wall to the foot of the ladder. Write a formula connecting x and y (Pythagorean theorem) and differentiate with respect to t to convert to a formula for speed.