document.write( "Question 1152422: Two trains leave Dallas at the same time. One train travels east and the other travels west. The speed of the westbound train is 5 mph greater than the speed of the eastbound train. After 6 hours, they are 510 miles apart. Find the rate of each train. Assume the trains travel in a straight line in opposite directions. \n" ); document.write( "
Algebra.Com's Answer #774441 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+s+\" = the speed pf the eastbound train
\n" ); document.write( "\"+s+%2B+5+\" = the speed of the westbound train
\n" ); document.write( "----------------------------------------------------
\n" ); document.write( "You can add their speeds, and think of this as one train
\n" ); document.write( "traveling \"+510+\" mi or \"+6+\" hrs
\n" ); document.write( "\"+510+=+%28+s+%2B+s+%2B+5+%29%2A6+\"
\n" ); document.write( "\"+510+=+%28+2s+%2B+5+%29%2A6+\"
\n" ); document.write( "\"+510+=+12s+%2B+30+\"
\n" ); document.write( "\"+12s+=+480+\"
\n" ); document.write( "\"+s+=+40+\"
\n" ); document.write( "and
\n" ); document.write( "\"+s+%2B+5+=+45+\"
\n" ); document.write( "--------------------
\n" ); document.write( "40 mi/hr = the speed pf the eastbound train
\n" ); document.write( "45 mi/hr = the speed of the westbound train
\n" ); document.write( "-------------------------------------------------
\n" ); document.write( "check:
\n" ); document.write( "(1) \"+d%5B1%5D+=+40%2A6+\"
\n" ); document.write( "(2) \"+d%5B2%5D+=+45%2A6+\"
\n" ); document.write( "\"+d%5B1%5D+%2B+d%5B2%5D+=+510+\"
\n" ); document.write( "\"+240+%2B+270+=+510+\"
\n" ); document.write( "OK
\n" ); document.write( "Get another opinion if needed\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );