20 gallons of gas was consumed by the car that has efficiency of 20 miles per gallon and 30 gallons of gas was consumed by the car that has efficiency of 30 miles per gallon .
The first car has a fuel efficiency of 20 miles per gallon of gas and the second has a fuel efficiency of 30 miles per gallon of gas.
Therefore,
let
x = number of gallons for car that consume 20 miles per gallon of gas
y = number of gallons for car that consume 30 miles per gallon of gas
Hence,
x + y = 50
20x + 30y = 1300
20x + 20y = 1000
20x + 30y = 1300
10y = 300
y = 300 / 10
y = 30
Therefore,
x = 50 - 30
x = 20
learn more on equation here: https://brainly.com/question/15572377
#SPJ1