document.write( "Question 557673: Pete and his family take a trip out into the country by car. On the way out he travels at 40 MPH . When they hit snow he turned around and started back traveling at 30 MPH. If the entire trip took 7 hours, how far out into the country did they go?
\n" ); document.write( "I tried 40x + 30x = 7(60)
\n" ); document.write( "But that is not the correct answer.
\n" ); document.write( "if you could help me that would be great
\n" ); document.write( "

Algebra.Com's Answer #362701 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+d+\" = distance in miles they went into country
\n" ); document.write( "Let \"+t+\" = time in hrs to go into country
\n" ); document.write( "\"+7+-+t+\" = time in hrs to get back
\n" ); document.write( "Going into country:
\n" ); document.write( "(1) \"+d+=+40t+\"
\n" ); document.write( "Coming back:
\n" ); document.write( "(2) \"+d+=+30%2A%28+7+-+t+%29+\"
\n" ); document.write( "----------------
\n" ); document.write( "By substitution:
\n" ); document.write( "\"+40t+=+30%2A%28+7+-+t+%29+\"
\n" ); document.write( "\"+40t+=+210+-+30t+\"
\n" ); document.write( "\"+70t+=+210+\"
\n" ); document.write( "\"+t+=+3+\"
\n" ); document.write( "and
\n" ); document.write( "(1) \"+d+=+40t+\"
\n" ); document.write( "(1) \"+d+=+40%2A3+\"
\n" ); document.write( "(1) \"+d+=+120+\"
\n" ); document.write( "They went 120 miles into country
\n" ); document.write( "check:
\n" ); document.write( "(2) \"+d+=+30%2A%28+7+-+t+%29+\"
\n" ); document.write( "(2) \"+d+=+30%2A%28+7+-+3+%29+\"
\n" ); document.write( "(2) \"+d+=+120+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );