document.write( "Question 1050681: A train traveled 120 miles from Station A to Station B. Then, it immediately returned back to Station A, but at an average speed that is 10 mph faster. The total road trip took 7 hours. How long did it take the train to travel from Station B to Station A? \n" ); document.write( "
Algebra.Com's Answer #666277 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
speed going was x mph
\n" ); document.write( "time it took to go was 120/x hours, units mi/mi/hr or hr.
\n" ); document.write( "speed back was (x+10) mph and its time was 120/(x+10)
\n" ); document.write( "(120/x)+(120/(x+10)=7
\n" ); document.write( "multiply every thing by x(x+10)
\n" ); document.write( "120(x+10)+120x=7x^2+70x, which is 7*x(x+10)
\n" ); document.write( "240x+1200=7x^2+70x
\n" ); document.write( "7x^2-170x-1200=0
\n" ); document.write( "x=(1/14)(170+/- sqrt(170^2+4(8400)); sqrt is of 62500, and that is 250
\n" ); document.write( "use positive root only
\n" ); document.write( "x=(1/14)(170+250)=(1/14)(420)=30 mph out, 4 hours
\n" ); document.write( "x+10=40 mph back or 3 hours. ANSWER\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );