A family has two cars. The first car has a fuel efficiency of 25 miles per gallon of gas and the second has a fuel efficiency of 15 miles per gallon of gas. During one particular week, the two cars went a combined total of 950 miles, for a total gas consumption of 50 gallons. How many gallons were consumed by each of the two cars that week?

Respuesta :

ulhasj
25*X + 15*Y = 950
X + Y = 50

Y = 50 - X
25*X + 15*(50 - X) = 950
25*X + 750 - 15*X = 950
10*X = 200
X = 20

Y = 50 - 20
Y = 30