document.write( "Question 362138: The first side of a triangle is 9m shorter than the second side. the third side is 3 times as long as the first side.the perimeter is 39m. find the length of the longest side. \n" ); document.write( "
Algebra.Com's Answer #258106 by HasanSahin(52)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "let's say the first side is a,the second side is b and the third is c.\r
\n" ); document.write( "\n" ); document.write( "a = b-9 (1) and 3a = c (2) and perimeter a + b + c = 39 (3) \r
\n" ); document.write( "\n" ); document.write( "put \"a\" in 1st equation to 2nd equation >>> 3*(b-9) = c >> 3b - 27 = c (4)\r
\n" ); document.write( "\n" ); document.write( "put \"a\" in 1st equation to 3rd equations also >> b-9+b+c = 39 >> c = 39-2b+9 (5)\r
\n" ); document.write( "\n" ); document.write( "put \"c\" in 5th equation to 4th equation >> 3b-27 = 48-2b >> 5b = 75 >> b = 15\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Solve 1st equation >> a = 15-9 >> a = 6\r
\n" ); document.write( "\n" ); document.write( "Solve 3th equation >> 6 + 15 + c = 39 >> c = 18.\r
\n" ); document.write( "\n" ); document.write( "Therefore longest side is c, c=18.\r
\n" ); document.write( "\n" ); document.write( "RF.
\n" ); document.write( "
\n" );