Sliding Ladder problem in AP Calculus

A. If we let $x$ denote the distance the base of the ladder is from the house and $y$ denote the height of the top of the ladder on the wall, then assuming the ground is level and the wall vertical, we have a right triangle where the length of the ladder is the hypotenuse. So, how are $x$, $y$ and the length of the ladder related?