
Annie T. answered 03/03/23
Mathematics Teacher Tutoring from Pre-Algebra to Calculus
There are two unknowns.
Let f = fuel efficiency of the first car in mpg (consumed 30 gallons)
Let s = fuel efficient of the second car in mpg (consumed 20 gallons)
Since the sum of the fuel efficiency is 40, you have f + s = 40
The number of miles driven is equal to the fuel efficiency times the number of gallons. The total gallons is 950, so you have a second equation of 30f + 20s = 950.
This give you a systems of equation
f + s = 40
30f + 20s = 950
Using the elimination method, you can multiply the first equation by -20 so it will become -20f - 20s = -800.
Adding this to the second equation will give you 10f = 150. So you get f = 15. So the fuel efficiency of the first car is 15 mpg.
Since f + s = 40, then 15 + s = 40 means that s = 25. So the second car has a fuel efficiency of 25 mpg.