document.write( "Question 350735: If the hypotenuse of a right triangle is 30 cm long and one leg is twice as long as the other, how long are the legs of the triangle?\r
\n" ); document.write( "\n" ); document.write( "I think I'm suppose to set it up 30^2=a^2 +2b^2, but I'm not sure. And if it is, I'm not sure how to solve for both a and b. Thanks
\n" ); document.write( "

Algebra.Com's Answer #250757 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
if one leg is x
\n" ); document.write( "the other leg will be 2x
\n" ); document.write( "...
\n" ); document.write( "x^2+(2x)^2=30^2
\n" ); document.write( "x^2+4x^2=900
\n" ); document.write( "5x^2=900
\n" ); document.write( "x^2=900/5
\n" ); document.write( "x^2=180
\n" ); document.write( "x= sqrt 180 = 13.4 cm
\n" ); document.write( "other leg will be 2*13.4 = 26.8 cm
\n" ); document.write( "
\n" );