document.write( "Question 652750: You drove 365 miles using 15 gallons of gasoline a that costs $3.50 per gallon. If you get 27 mi/ gal on the highway  and 19 in the city, how much did you spend for fuel for highway driving and how much for city driving?  \n" ); document.write( "
Algebra.Com's Answer #408115 by DrBeeee(684)\"\" \"About 
You can put this solution on YOUR website!
I had this all worked out for you and the puter burped and I lost the detailed answer. Here it is quickly w/o detail.
\n" ); document.write( "Let c = gallons used in city
\n" ); document.write( "Let h = gallons used in highway
\n" ); document.write( "(1) 19c + 27h = 365
\n" ); document.write( "(2) c + h = 15
\n" ); document.write( "Solution of (1) and (2)
\n" ); document.write( "c = 5 and h = 10
\n" ); document.write( "Cost in city is $17.50
\n" ); document.write( "Cost on highway is $35.00
\n" ); document.write( "
\n" );