document.write( "Question 1178858: The hypotenuse of a right triangle
\n" ); document.write( "is 3cm longer than one of its legs
\n" ); document.write( "and 6cm longer than its other leg.
\n" ); document.write( "What is the area of the triangle?
\n" ); document.write( "

Algebra.Com's Answer #808293 by htmentor(1343)\"\" \"About 
You can put this solution on YOUR website!
Let x = the length of the hypotenuse
\n" ); document.write( "Then one of the legs is x-3 and the other leg is x-6
\n" ); document.write( "Since the triangle is a right triangle, using the Pythagorean theorem we have:
\n" ); document.write( "(x-3)^2 + (x-6)^2 = x^2 -> x^2 - 18x + 45 = 0
\n" ); document.write( "This can be factored as:
\n" ); document.write( "(x-3)(x-15) = 0
\n" ); document.write( "The solutions are x = 3 and x = 15. The answer cannot be x = 3, since that would
\n" ); document.write( "make the legs 0 and -3.
\n" ); document.write( "Thus, x = 15. Therefore the area is 1/2*(12)(9) = 54 cm^2
\n" ); document.write( "
\n" );