document.write( "Question 1164293: amanda drove to the mountains last weekend. There was heavy traffic on the way there, and the trip took 7 hours. When Amanda drove home, there was no traffic and the trip only took 5 hours. If her average rate was 18 miles per hour faster on the trip home, how far away does Amanda live from the mountains? \n" ); document.write( "
Algebra.Com's Answer #788606 by greenestamps(13198)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "The distances there and back are the same. So, because the ratio of times was 7:5, the ratio of speeds was 5:7.

\n" ); document.write( "Given that ratio, let the speed going be 5x and the speed returning be 7x. The difference in speeds, 7x-5x=2x, was 18mph; so x=9.

\n" ); document.write( "So her speed going was 5x=45mph and her speed returning was 7x=63mph.

\n" ); document.write( "The distance for each trip was then 45*7 = 315 miles, or 63*5 = 315 miles.

\n" ); document.write( "
\n" ); document.write( "
\n" );