Answer:
90 gallons premium gas
230 gallons regular gas
Explanation:
We can use the given information to form a system of equations.
First, let's set the variables:
Regular gas: r
Premium gas: p
Throughout the entire day, they sold 320 gallons of r and p combined.
r+p=320
Now, regular gas sells for 2.30 per gallon, which can be written as 2.30r
premium can be shown similarly as 3.00p. After all the gallons they sold, they got 799 in total.
2.30r + 3.00p = 799
As a system of equations, it can be written like this...
r+p=320
2.30r + 3.00p = 799
Now solve. (I won't explain much of the steps here but I'll show it. Comment questions if you have any, and I'll try to answer them.)
r=320-p
2.30r + 3.00p = 799
2.30(320-p)+3.00p=799
736+0.7p=799
0.7p=63
p=90 gallons of premium gas
Now we can solve for regular by just plugging in 90 gallons premium into the top equation.
r+p=320
r+90=320
r=230 gallons of regular gas
check work.
230(2.30)+90.0(3.00)=799
529+270=799
799=799