document.write( "Question 309830: The legs of a right triangle have lengths x+2 and x+6. The hypotenuse has a length 2x. What is the perimeter \n" ); document.write( "
Algebra.Com's Answer #221604 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
The legs of a right triangle have lengths x+2 and x+6.
\n" ); document.write( " The hypotenuse has a length 2x.
\n" ); document.write( " What is the perimeter.
\n" ); document.write( ":
\n" ); document.write( "P = (x+2) + (x+6) + 2x
\n" ); document.write( "P = 4x + 8
\n" ); document.write( ":
\n" ); document.write( "Find x using the a^2 + b^2 = c^2
\n" ); document.write( "(x+2)^2 + (x+6)^2 = (2x)^2
\n" ); document.write( "FOIL
\n" ); document.write( "x^2 + 4x + 4 + x^2 + 12x + 36 = 4x^2
\n" ); document.write( "Combine like terms
\n" ); document.write( "x^2 + x^2 - 4x^2 + 4x + 12x + 40 = 0
\n" ); document.write( ":
\n" ); document.write( "-2x^2 + 16x + 40 = 0
\n" ); document.write( "Simplify change the signs, divide by -2
\n" ); document.write( "x^2 - 8x - 20 = 0
\n" ); document.write( "Factor this to
\n" ); document.write( "(x-10)(x+2) = 0
\n" ); document.write( "positive solution is what we want here
\n" ); document.write( "x = 10
\n" ); document.write( ":
\n" ); document.write( "P = 4x + 8
\n" ); document.write( "P = 4(10) = 8
\n" ); document.write( "P = 48 is the perimeter
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Check solution using 10 for x
\n" ); document.write( "leg 1: 10 + 2 = 12
\n" ); document.write( "leg 2: 10 + 6 = 16
\n" ); document.write( "hypot: 2(10) = 20
\n" ); document.write( "-------------------
\n" ); document.write( "perimeter is: 48
\n" ); document.write( "
\n" );