document.write( "Question 321079: 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? \n" ); document.write( "
Algebra.Com's Answer #229944 by JBarnum(2146)\"\" \"About 
You can put this solution on YOUR website!
\"a%5E2%2Bb%5E2=c%5E2\"
\n" ); document.write( "b=2a
\n" ); document.write( "\"a%5E2%2B2a%5E2=30%5E2\"
\n" ); document.write( "\"3a%5E2=900\"
\n" ); document.write( "\"a%5E2=300\"
\n" ); document.write( "a=17.3205
\n" ); document.write( "b=34.6410
\n" ); document.write( "
\n" );