document.write( "Question 242412: Andea's car averages 18.4 mi/gal in city driving and 25.8 mi/gal in highway driving. if she drove a total of 652.0 mi on 29 gal of gas, how many of the gallons were used for city driving?\r
\n" ); document.write( "\n" ); document.write( "i think this a system of equations problem. i don't know how to set up the equations
\n" ); document.write( "

Algebra.Com's Answer #177531 by checkley77(12844)\"\" \"About 
You can put this solution on YOUR website!
YOU DON'T NEED A SYSTEM OF EQUATIONS;
\n" ); document.write( "THE FOLLOWING ONE WILL DO.
\n" ); document.write( "18.4X+25.8(29-X)=652
\n" ); document.write( "18.4X+748.2-25.8=652
\n" ); document.write( "-7.4X=652-748.2
\n" ); document.write( "-7.4X=-96.2
\n" ); document.write( "X=-96.2/-7.4
\n" ); document.write( "X=13 GAL CONSUMMED @ 18.4 MPH. CITY DRIVING.
\n" ); document.write( "29-13=16 GAL CONSUMMED @ 25.8 MPH.
\n" ); document.write( "PROOF:
\n" ); document.write( "18.4*13+25.8*16=652
\n" ); document.write( "239.2+412.8=652
\n" ); document.write( "652=652
\n" ); document.write( "
\n" ); document.write( "
\n" );