document.write( "Question 940723: The sides of a triangle habe lengths of x, x+5, and 25. If the longest side is 25, which of the following of x would make the triangle right? \n" ); document.write( "
Algebra.Com's Answer #573347 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
If it's a right triangle, it follows the Pythagorean theorem,
\n" ); document.write( "\"x%5E2%2B%28x%2B5%29%5E2=25%5E2\"
\n" ); document.write( "\"x%5E2%2Bx%5E2%2B10x%2B25=625\"
\n" ); document.write( "\"2x%5E2%2B10x-600=0\"
\n" ); document.write( "\"x%5E2%2B5x-300=0\"
\n" ); document.write( "\"%28x%2B20%29%28x-15%29=0\"
\n" ); document.write( "Only the positive value makes sense here,
\n" ); document.write( "\"x-15=0\"
\n" ); document.write( "\"x=15\"
\n" ); document.write( "
\n" ); document.write( "
\n" );