\n" );
document.write( "Hi,
\n" );
document.write( "Let x represent the length of the 'other leg'
\n" );
document.write( "The hypotenuse of a right triangle is 15 cm, and the shorter leg is 9 cm
\n" );
document.write( "Applying the Pytahgorean Theorem
\n" );
document.write( "x^2 + 9cm^2 = 15cm^2
\n" );
document.write( "x^2 + 81cm^2 = 225cm^2
\n" );
document.write( "x^2 = 225cm^2 - 81Cm^2
\n" );
document.write( "x^2 = 144cm^2
\n" );
document.write( "x = +-
\n" );
document.write( "x = +-12cm, negative solution is not appropropriate
\n" );
document.write( "x = 12cm, length of the 'other leg'
\n" );
document.write( "
\n" );
document.write( "