document.write( "Question 636847: The distance between train station A and train station B is 180 kilometers. Train station C is between station A and station B, and is located 30 kilometers away from station A. At 7 AM, a freight train left from station A to station B and at 8 AM, a passenger train left from station C to station B. The speed of the passenger train is 30 km/hour greater than the freight train.
\n" ); document.write( "The passenger train arrived to station B 20 minutes earlier than the freight train arrived to station B.
\n" ); document.write( "What is the speed of the freight train?
\n" ); document.write( "Thanks so much for your time! :)
\n" ); document.write( "

Algebra.Com's Answer #401254 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
The distance between train station A and train station B is 180 kilometers. Train station C is between station A and station B, and is located 30 kilometers away from station A.
\n" ); document.write( "---
\n" ); document.write( "Draw that picture:
\n" ); document.write( "30 km from A to C
\n" ); document.write( "180 km from A to B
\n" ); document.write( "150 km from C to B
\n" ); document.write( "A......30km.....C.............130km......B\r
\n" ); document.write( "\n" ); document.write( "==========================================================\r
\n" ); document.write( "\n" ); document.write( " At 7 AM, a freight train left from station A to station B and at 8 AM, a passenger train left from station C to station B. The speed of the passenger train is 30 km/hour greater than the freight train.
\n" ); document.write( "The passenger train arrived to station B 20 minutes earlier than the freight train arrived to station B.
\n" ); document.write( "----
\n" ); document.write( "Freight DATA:
\n" ); document.write( "rate = x kmh ; distance = 180 km ; time = d/r = 180/(x) hrs
\n" ); document.write( "------------
\n" ); document.write( "Passenger DATA:
\n" ); document.write( "rate = x+30 kmh ; distance = 130 km ; time = d/r = 130/(x+30) hrs
\n" ); document.write( "----------
\n" ); document.write( "What is the speed of the freight train?
\n" ); document.write( "Equation:
\n" ); document.write( "freight - pass = 1/3 hr
\n" ); document.write( "180/x - 130/(x+30) = 1/3
\n" ); document.write( "----
\n" ); document.write( "3*180(x+30) - 3*130x= x(x+30)
\n" ); document.write( "540x + 16200 - 390x = x^2+30x
\n" ); document.write( "x^2 - 120x - 16200 = 0
\n" ); document.write( "---
\n" ); document.write( "x = 200 kmh (freight rate)
\n" ); document.write( "x+30 = 230 kmh (passenger rate)
\n" ); document.write( "=================================================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );