document.write( "Question 152233: the lenghts of the sides of a triangle are consecutive odd numbers. What is the length of the longest side if the perimeter is 45? \n" ); document.write( "
Algebra.Com's Answer #111895 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
Of course, the sum of the three sides of a triangle is equal to the perimeter.
\n" ); document.write( ".
\n" ); document.write( "Let x = one side of the triangle
\n" ); document.write( "x+2 = second side
\n" ); document.write( "x+4 = third side
\n" ); document.write( ".
\n" ); document.write( "x + x+2 + x+4 = 45
\n" ); document.write( "3x + 6 = 45
\n" ); document.write( "3x = 39
\n" ); document.write( "x = 13
\n" ); document.write( ".
\n" ); document.write( "So, the longest side is:
\n" ); document.write( "x+4 = 17
\n" ); document.write( "
\n" ); document.write( "
\n" );