document.write( "Question 380060: A car traveled 262 miles on a trip. During 90 miles of the trip, the car traveled through the city and had gas mileage that was 13 fewer miles per gallon than the gas mileage on the highway. If the total amount of gasoline used for the trip was 7 gallons, find the gas mileage of the car on the highway. \n" ); document.write( "
Algebra.Com's Answer #270025 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
A car traveled 262 miles on a trip. During 90 miles of the trip, the car
\n" ); document.write( " traveled through the city and had gas mileage that was 13 fewer miles per
\n" ); document.write( " gallon than the gas mileage on the highway.
\n" ); document.write( " If the total amount of gasoline used for the trip was 7 gallons, find the
\n" ); document.write( " gas mileage of the car on the highway.
\n" ); document.write( ":
\n" ); document.write( "Let x = gas mileage on the highway
\n" ); document.write( "then
\n" ); document.write( "(x-13) = gas mileage in the city
\n" ); document.write( ":
\n" ); document.write( "Find the number of miles traveled on the highway: 262 - 90 = 172
\n" ); document.write( ":
\n" ); document.write( "gals on hwy + gals in city = 7 gallons
\n" ); document.write( "\"172%2Fx\" + \"90%2F%28%28x-13%29%29\" = 7
\n" ); document.write( "multiply equation by x(x-13), results
\n" ); document.write( "172(x-13) + 90x = 7x(x-13)
\n" ); document.write( ":
\n" ); document.write( "172x - 2236 + 90x = 7x^2 - 91x
\n" ); document.write( ":
\n" ); document.write( "262x - 2236 = 7x^2 - 91x
\n" ); document.write( "Combine like terms on the right
\n" ); document.write( "0 = 7x^2 - 91x - 262x + 2236
\n" ); document.write( "A quadratic equation
\n" ); document.write( "7x^2 - 353x + 2236 = 0
\n" ); document.write( "Use the quadratic formula to find x, a=7; b=-353; c=2236
\n" ); document.write( "Do the math, of the two solutions, the reasonable one:
\n" ); document.write( " x = 43 mpg on highway
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Check this by finding the total gal
\n" ); document.write( "172/43 = 4
\n" ); document.write( "90/30 = 3
\n" ); document.write( "------------
\n" ); document.write( "total; 7 gal
\n" ); document.write( "
\n" );