document.write( "Question 390593: julio's car gets 36 mpg highway and 31 mpg city. if he drove 397 miles on 12 gallons, how far did he drive in the city? how far did he drive on the highway? \n" ); document.write( "
Algebra.Com's Answer #277004 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Hi,
\n" ); document.write( " he drove 397 miles
\n" ); document.write( "Let x and (397mi-x) represent the highway miles and city miles respectively
\n" ); document.write( "Question states***
\n" ); document.write( " x/36mpg + (397mi-x)/31mpg = 12gal
\n" ); document.write( " 31x + 36(397-x) = 12*36*31
\n" ); document.write( " -6x + 36*397 = 12*36*31
\n" ); document.write( " 36*397-12*36*32 = 6x
\n" ); document.write( " 468 = 6x
\n" ); document.write( " x = 78mi, the highway miles. City miles were 319mi. (397-78)
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "
\n" );