
Doug C. answered 10/05/22
Math Tutor with Reputation to make difficult concepts understandable
Let the long leg be represented by x.
Then the short leg is represented by x-4 (4 feet less than the long leg).
Apply the Pythagorean Theorem:
(x-4)2+x2=122
x2-8x+16+x2=144
2x2-8x-128=0
x2-4x-64=0 (might as well divide every term by 2 to make the numbers smaller)
Now use the quadratic formula to find the roots. But reject a negative root because in the context of the problem the side of a triangle must be positive. You will want to use a calculator to get the approximate answer to the nearest tenth.
desmos.com/calculator/8uidotyyni
Specifically check out rows 6 and 8 in the above graph. You can visit the URL by selecting, right-clicking, and choosing "Go to..." from the drop-down menu.
Remember the problem asks for the lengths of both legs, so subtract 4 from the value of x to get x-4.