document.write( "Question 305294: Please solve.\r
\n" ); document.write( "\n" ); document.write( "One leg of a right triangle is four less than twice the other.
\n" ); document.write( "The hypotenuse is 10. Find the length of each leg.
\n" ); document.write( "

Algebra.Com's Answer #218619 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "One leg of a right triangle is four less than twice the other.
\n" ); document.write( "The hypotenuse is 10. Find the length of each leg.
\n" ); document.write( ".
\n" ); document.write( "Let x = one leg
\n" ); document.write( "then
\n" ); document.write( "2x-4 = other leg
\n" ); document.write( ".
\n" ); document.write( "Applying Pythagorean theorem:
\n" ); document.write( "x^2 + (2x-4)^2 = 10^2
\n" ); document.write( "x^2 + (2x-4)(2x-4) = 100
\n" ); document.write( "x^2 + 4x^2-8x-8x+16 = 100
\n" ); document.write( "5x^2-16x+16 = 100
\n" ); document.write( "5x^2-16x-84 = 0
\n" ); document.write( "5x^2-30x+14x-84 = 0
\n" ); document.write( "(5x^2-30x)+(14x-84) = 0
\n" ); document.write( "5x(x-6)+14(x-6) = 0
\n" ); document.write( "(x-6)(5x+14) = 0
\n" ); document.write( "x = {-14/5, 6}
\n" ); document.write( "Toss out the negative answer leaving:
\n" ); document.write( "x = 6
\n" ); document.write( "
\n" ); document.write( "
\n" );