document.write( "Question 132875This question is from textbook
\n" ); document.write( ": A salesperson purchased an automobile that was advertised as averaging 25 mi/gal in the city and 40 mi/gal on the highway. A recent sales trip that covered 1800 miles required 51 gallons of gasoline. Assuming that the advertised mileage estimates were correct, how many miles were driven in the city?\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #97095 by vleith(2983)\"\" \"About 
You can put this solution on YOUR website!
Given:
\n" ); document.write( "1800 total miles
\n" ); document.write( "51 gallons
\n" ); document.write( "25 miles per gallon city
\n" ); document.write( "40 miles per gallon highway\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The total distance is the sum of the mileage of city and highway.
\n" ); document.write( "Let x be the number of gallons used for city driving. If so, then 51-x is the number of gallons used for highway. \r
\n" ); document.write( "\n" ); document.write( "Now setup an equation for the total mileage driven\r
\n" ); document.write( "\n" ); document.write( "Thus :
\n" ); document.write( "\"Total+=+highway+%2B+city+\"
\n" ); document.write( "\"1800+=+%2851-x%2940+%2B+x%2825%29+\"
\n" ); document.write( "\"1800+=+2040+-40x+%2B+25x+\"
\n" ); document.write( "\"-240+=+-15x+\"
\n" ); document.write( "\"+16+=+x+\" Thus city driving used 16 gallons. To find the number of city miles, just multiply the number of gallons times the stated city rate of 25. \r
\n" ); document.write( "\n" ); document.write( "Yielding 400\r
\n" ); document.write( "\n" ); document.write( "Check your answer using highway milage to ensure the total is correct.
\n" ); document.write( "51-16 = 35
\n" ); document.write( "35 * 40 = 1400\r
\n" ); document.write( "\n" ); document.write( "total is 1400 + 400 = 1800!!
\n" ); document.write( "
\n" );