document.write( "Question 942809: Suppose the measures of the two legs of a right triangle differ by 2 inches and that the hypotenuse is 2 inches longer than the longer leg. Find the measures of the three sides. \n" ); document.write( "
Algebra.Com's Answer #574763 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
So the legs would be \"x\" and \"x-2\" and the hypotenuse would be \"x%2B2\".
\n" ); document.write( "Use the Pythagorean theorem,
\n" ); document.write( "\"%28x%2B2%29%5E2=x%5E2%2B%28x-2%29%5E2\"
\n" ); document.write( "\"x%5E2%2B4x%2B4=x%5E2%2Bx%5E2-4x%2B4\"
\n" ); document.write( "\"x%5E2%2B4x%2B4=2x%5E2-4x%2B4\"
\n" ); document.write( "\"x%5E2-8x=0\"
\n" ); document.write( "\"x%28x-8%29=0\"
\n" ); document.write( "Only non-zero solutions make sense here,
\n" ); document.write( "\"x-8=0\"
\n" ); document.write( "\"x=8\"
\n" ); document.write( "So the lengths are 6,8, and 10.
\n" ); document.write( "
\n" ); document.write( "
\n" );