document.write( "Question 149780: The hypotenuse of a right triangle is 7 less than three times the shortest leg. The longest leg is two less than the hypotenuse. Detemine the lengths of all three sides. There are two sets of answers, state both of them. \n" ); document.write( "
Algebra.Com's Answer #109899 by kmcruz09(38)\"\" \"About 
You can put this solution on YOUR website!
The hypotenuse of a right triangle is 7 less than three times the shortest leg. The longest leg is two less than the hypotenuse. Detemine the lengths of all three sides. There are two sets of answers, state both of them.\r
\n" ); document.write( "\n" ); document.write( "let x = shortest leg
\n" ); document.write( "then 3x-7 = hypotenuse
\n" ); document.write( "then 3x-9 = longest leg\r
\n" ); document.write( "\n" ); document.write( "\"x%5E2+%2B+%283x-9%29%5E2+=+%283x-7%29%5E2\"
\n" ); document.write( "\"x%5E2+%2B+9x%5E2+-54x+%2B81+=+9x%5E2-42x%2B49\"
\n" ); document.write( "\"x%5E2+-+54x+%2B+81+=+-42x+%2B+49\"
\n" ); document.write( "\"x%5E2+-+12x+%2B+32+=+0\"
\n" ); document.write( "\"%28x-8%29%28x-4%29=0\"
\n" ); document.write( "\"x=8\"
\n" ); document.write( "\"x=4\"\r
\n" ); document.write( "\n" ); document.write( "Triangle 1 : 8, 17, 15
\n" ); document.write( "Triangle 2: 4, 5, 3\r
\n" ); document.write( "\n" ); document.write( "in the case of Triangle 2, \"3x-9\" is equal to 3. It doesn't satisfy the conditions given in the problem that \"3x-9\" must be the longest leg. Therefore, the sides of Triangle 1 should be considered as the only correct answer.
\n" ); document.write( "
\n" );