document.write( "Question 694274: Sid's car gets 34 miles per gallon on the highway and 26 miles per gallon in the city. If Sid drivesa total of 414 miles on 13 gallons of gas how many miles did the car drive in the city and how many miles did the car drive on the highway? \n" ); document.write( "
Algebra.Com's Answer #427801 by vleith(2983)\"\" \"About 
You can put this solution on YOUR website!
Let h be the gallons used on highway. Let c be gallons used on city driving.
\n" ); document.write( "You are told
\n" ); document.write( "\"h+%2B+c+=+13\" --> \"c+=+13+-+h\"
\n" ); document.write( "\"34h+%2B+26c+=+414\"
\n" ); document.write( "\"34h+%2B+26%2813-h%29+=+414\"
\n" ); document.write( "\"34h+%2B+338+-+26h+=+414\"
\n" ); document.write( "\"8h+=+76\"
\n" ); document.write( "\"h+=+9.5\"
\n" ); document.write( "\"c+=+13+-+9.5+=+3.5\"
\n" ); document.write( "Use these values to calculate the miles driven for each type
\n" ); document.write( "\"cityMiles+=+26%2Ac\"
\n" ); document.write( "\"HighwayMiles+=+34%2Ah\"\r
\n" ); document.write( "\n" ); document.write( "you can do the rest
\n" ); document.write( "
\n" );