document.write( "Question 29982: I really need help with this problem. I know it will be a system of equtions but I don't know what those equations would be! Here it is: \r
\n" ); document.write( "\n" ); document.write( "A right triangle has a perimeter of 40 units and one leg has a length of 8 units. What are the lengths of the other legs?
\n" ); document.write( "

Algebra.Com's Answer #16742 by Fermat(136)\"\" \"About 
You can put this solution on YOUR website!
Label the three sides as a,b,c, and let a be the hypotenuse.\r
\n" ); document.write( "\n" ); document.write( "Suppose a = 8.
\n" ); document.write( "Since a is the hypotenuse, then the shortest the other two sides could be is 16 units each, and there is no way that 16² + 16² = 8².
\n" ); document.write( "In other words, the side of length 8 cannot be a hypotenuse so it must be one of the other sides.
\n" ); document.write( "let c = 8, say.\r
\n" ); document.write( "\n" ); document.write( "The perimeter: a + b + c = 40
\n" ); document.write( "i.e. a + b = 32
\n" ); document.write( "===============\r
\n" ); document.write( "\n" ); document.write( "Pathagoras' theorem: a² = b² + c²
\n" ); document.write( "i.e. a² = b² + 64
\n" ); document.write( "=================\r
\n" ); document.write( "\n" ); document.write( "Now substitute for a = 32 - b into the quadratic eqn and solve for a.
\n" ); document.write( "
\n" );