Answer:20 and 15 gallons
Step-by-step explanation:
Given
The first car gets 25 miles per gallon
The second car gets 15 miles per gallon
Two cars consumed 35 Gallons
they went for 725 miles in total
suppose the first car consumes x gallons
so, the second car consumes 35-x gallons of gas
We can write
[tex]\Rightarrow 25x+15(35-x)=725\\\Rightarrow 25x-10x=725-525\\\Rightarrow 10x=200\\\Rightarrow x=20[/tex]
First consumed 20 gallons and second consumed 15 gallons