document.write( "Question 831724: Sharon would like to know how much gas will cost for her to take a trip to her vacation home 180 miles away. she know the average price of gas and the average mile per gallon for her car. write a solution to calculate the cost of her trip.(remember she has to travel back) \n" ); document.write( "
Algebra.Com's Answer #501611 by josgarithmetic(39618)\"\" \"About 
You can put this solution on YOUR website!
Needed numbers are fuel efficiency in miles per gallon, and price of gasoline in dollars per gallon.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let q be fuel efficiency, and let p be fuel price.
\n" ); document.write( "Sharon will do a round trip, so this is 2*180 miles.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"2%2A180%28miles%29%281%2Fq%29%28gallons%2Fmile%29p%28dollars%2Fgallon%29\", showing all the units with their numbers.
\n" ); document.write( "-
\n" ); document.write( "\"%282%2A180%2Ap%2Fq%29%2A%28miles%29%28gallons%2Fmiles%29%28dollars%2Fgallons%29\", showing all the units AFTER the number expression.
\n" ); document.write( "-
\n" ); document.write( "Just compute, and notice how the units cancel to leave just dollars.
\n" ); document.write( "
\n" );