SOLUTION: My car gets 25 mpg for in-town driving, and 40 mpg on the highway. If I used 51 gallons on a recent 1800 mile trip, how many miles were highway miles?

Algebra.Com
Question 242993: My car gets 25 mpg for in-town driving, and 40 mpg on the highway. If I used 51 gallons on a recent 1800 mile trip, how many miles were highway miles?
Found 2 solutions by josmiceli, Theo:
Answer by josmiceli(19441)   (Show Source): You can put this solution on YOUR website!
Let = highway miles driven
Let = in-town miles driven
given:
(1) mi
(2) gallons
---------------------
Note that (miles)/(miles/gallon) = (miles) x (gallons/mile) = gallons
I have 2 equations and 2 unknowns, so it's solvable
(2)
Multiply both sides by
(2)
Now multiply both sides of (1) by
and subtract (1) from (2)




Plug this back into (1)



1400 miles were highway miles
check answer:
(2)



OK

Answer by Theo(13342)   (Show Source): You can put this solution on YOUR website!
t = town miles
c = country miles
t + c = 1800

t/24 + c/40 = 51 gallons.
multiply both sides of equation by 24*40 to get:
40*t + 24*c = 51*40*24
this becomes:
40t + 24c = 48960

t + c = 1800
subtract c from both sides of equation to get:
t = 1800-c

substitute 1800-c for t in first equation to get:
40*(1800-c) + 24c = 48960
simplify to get:
72000 - 40c + 24c = 48960
subtract 48960 from both sides of equation and add 40c to both sides of equation and subtract 24c from both sides of equation to get:
16c = 23040
divide both sides of equation by 16 to get
c = 1440

solve for t from c + t = 1800 to get:
t = 1800 - 1440 = 360

replace t with 360 and c with 1440 in gallons equation to get:
360/24 + 1440/40 = 15 + 36 = 51 gallons.

you drove 360 town miles and 1440 country miles.

RELATED QUESTIONS

A car gets 17 mpg in the city & 30 mpg on the highway. Say I used 10.636 gallons of gas... (answered by josgarithmetic,MathTherapy)
a salesperson purchased a car that avg 25mpg in the city and 40 mpg on highway. A recent (answered by jrfrunner)
julio's car gets 36 mpg highway and 31 mpg city. if he drove 397 miles on 12 gallons, how (answered by ewatrrr)
A car gets 18 MPG in city driving and 24 MPG in highway driving. The car is driven 465... (answered by stanbon)
A salesperson purchased a car that was advertised as averaging 25 mi/gal in the city and... (answered by ewatrrr)
If I drive 99 miles in a car that gets 35 MPG on the highway and gas is $3.75 a... (answered by checkley79)
Hi, can anyone help me with this homework question? A car gets 22 miles to the gallon... (answered by Alan3354)
A car gets 22.5 miles per gallon (mpg) in the city and 30 mpg on the highway. The car is (answered by richwmiller)