Question 971441
Let the shorter leg be x.
Then the longer leg is (x+2).
Then the hypotenuse is (x+5).
In a right angled triangle we have square of the hypotenuse is equal to sum of squares of the other two sides.
(x+5)^2=(x+2)^2+x^2
x^2+10x+25=x^2+4x+4+x^2
x^2+10x+25=2x^2+4x+4
x^2-6x-21=0
*[invoke quadratic "x", 1, -6, -21 ]
We have x=8.477
The shorter leg is 8.477 feet.
The longer leg is 10.477 feet.
The hypotenuse is 13.477 feet.