Let the number of gallons consumed be the first car be x, and that of the second car, y. Then:
x + y = 50 . . . . . . . (1)
20x + 15y = 850. . . (2)
(1) x 20 => 20x + 20y = 1000 . . . (3)
(2) - (3) => -5y = -150 => y = -150/-5 = 30
From (1), x + 30 = 50 => x = 50 - 30 = 20
Therefore, first car consumed 20 gallons and the second consumed 30 gallons.
Answer:

Step-by-step explanation:
the answer u will get after
if the equation has a negative slope that will indicate that the slope is negative
ex. y=-<u>5x</u>+6