document.write( "Question 1006292: Rachel and Sarah started out to visit Grandma. They drove for 50mjles and stopped to rest before driving for 30more miles. They decided to go back 10miles to a restaurant they had seen. After leaving the restaurant, they drive 80more miles to Grandma's house. If gasoline is $2 a mile,
\n" ); document.write( "How much money did Rachel and Sarah spent on gas to get to Grandma's house and back?
\n" ); document.write( "

Algebra.Com's Answer #622477 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
They drove:\"+50+%2B+3+%2B+10+%2B+80+=+143+\" mi
\n" ); document.write( "\"+143%2A2+=+286+\"
\n" ); document.write( "$286 is the cost of gas going to grandma's house
\n" ); document.write( "----------------------
\n" ); document.write( "The trip back from grandma's is a little different.
\n" ); document.write( "The trip they made going back to the restaurant
\n" ); document.write( "wasted \"+10+\" mi going back and they needed to
\n" ); document.write( "drive \"+10+\" miles to get back to the place
\n" ); document.write( "where they turned around, so \"+20+\" mi were
\n" ); document.write( "extra miles \"+143+-+20+=+123+\" is the return miles
\n" ); document.write( "\"+143+%2B+123+=+266+\" total miles
\n" ); document.write( "\"+2%2A266+=+532+\"
\n" ); document.write( "$532 was spent on gas going and coming back\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );