Question 1098631
You are forming a right triangle.
The hypotenuse is the length of the ladder
One side is 6 ft. The other side is h-3 
So you have 6^2+(h-3)^2=h