You can
put this solution on YOUR website!let x be the distance from the bottom of the ledder to the edge of the building:
We can then come up with an equation
x^2+(x+7)^2 = 13^2
Now solve for (x+7)^2
(x+7)(x+7)
=x(x+7)+7(x+7)
=x^2+7x+7x+49
=x^2+14x+49
Now we put this back to the previous equation x^2+(x+7)^2 = 13^2
x^2+x^2+14x+49=169
2x^2+14x+49-169=169-169
2x^2+14x-120=0
Now use the qurdratic formula

x = -48/4 or 20/4
x = -12 or 5
Since length cannot be a negative number, -12 is not the answer, so 5 is the answer.
----------------------------------------------------------------------------
Check:
5^2+(5+7)^2 = 13^2
25+144 = 169
169=169 (Correct!!!)