document.write( "Question 1032199: Hi, can anyone help me with this homework question? A car gets 22 miles to the gallon (mpg) in the city and 30 mpg on the highway. The car is driven 465 miles on 18.4 gallons of gas. How many miles were driven in the city ? And how many miles were driven on the highway? \n" ); document.write( "
Algebra.Com's Answer #646858 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
A car gets 22 miles to the gallon (mpg) in the city and 30 mpg on the highway. The car is driven 465 miles on 18.4 gallons of gas. How many miles were driven in the city ? And how many miles were driven on the highway?
\n" ); document.write( "-------------------
\n" ); document.write( "c = city miles
\n" ); document.write( "h = highway miles
\n" ); document.write( "---
\n" ); document.write( "c + h = 465 --> h = 465-c
\n" ); document.write( "c miles/22 (mi/gal) + h miles/30 (mi/gal) = 18.4 gallons
\n" ); document.write( "Multiply thru by 330
\n" ); document.write( "15c + 11h = 6072
\n" ); document.write( "Sub for h
\n" ); document.write( "15c + 11*(465-c) = 6072
\n" ); document.write( "4c + 5115 = 6072
\n" ); document.write( "c = 239.25 miles
\n" ); document.write( "h = 225.75 miles
\n" ); document.write( "
\n" ); document.write( "
\n" );