document.write( "Question 260107: a SUV gets 18 mpg in city, 24 mph on highway. the SUV is driven 329 miles on 15 gallons of gas. How many miles were on city driving, and highway driving\r
\n" ); document.write( "\n" ); document.write( "18x + 24y = 329
\n" ); document.write( "x +y = 15\r
\n" ); document.write( "\n" ); document.write( "18x + 24(15 -x) = 329
\n" ); document.write( "18x + 360 - 24x = 329
\n" ); document.write( "-6x = -31
\n" ); document.write( "x = 5.16\r
\n" ); document.write( "\n" ); document.write( "18(5.16)+ 24 y = 329
\n" ); document.write( "92.88 + 24y = 329
\n" ); document.write( "24y = 236.12
\n" ); document.write( "y = 9.8
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #191555 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
a SUV gets 18 mpg in city, 24 mph on highway. the SUV is driven 329 miles on 15 gallons of gas. How many miles were on city driving, and highway driving
\n" ); document.write( "------------------
\n" ); document.write( "miles equation: c + h = 329
\n" ); document.write( "gallons equation: c/18 + h/24 = 15
\n" ); document.write( "-------------------------------------
\n" ); document.write( "Modify the equations:
\n" ); document.write( "Multiply thru the 2nd equation by 72:
\n" ); document.write( "Multiply thru the 1st equation by 4:
\n" ); document.write( "4c + 4h = 4*329
\n" ); document.write( "4c + 3h = 72*15
\n" ); document.write( "--------------------------
\n" ); document.write( "Subtract the 2nd from the 1st and solve for \"h\":
\n" ); document.write( "h = 236 miles (# of highway miles driven)
\n" ); document.write( "---
\n" ); document.write( "c = 329-236 = 93 miles (# of city miles)
\n" ); document.write( "=================================================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );