Hopefully I posted this in the right place.
The setup is standard - A ladder 10 ft long rests against a vertical wall. The bottom of the ladder slides away from the wall at a rate of 1 ft/sec. If we let y be the vertical distance and x the horizontal distance, we use the Pythagorean theorem...