Answer:
90 gallons premium gas
230 gallons regular gas
Step-by-step explanation:
We can use the given information to form a system of equations.
First, let's set the variables:
Regular gas: <em>r</em>
Premium gas: <em>p</em>
Throughout the entire day, they sold 320 gallons of <em>r</em> and<em> p </em><em>combined.</em>
<em>r+p=320</em>
Now, regular gas sells for 2.30 per gallon, which can be written as 2.30<em>r</em>
premium can be shown similarly as 3.00<em>p</em>. After all the gallons they sold, they got 799 in total.
2.30<em>r </em>+ 3.00<em>p </em>= 799
As a system of equations, it can be written like this...
<em>r+p=320</em>
2.30<em>r </em>+ 3.00<em>p </em>= 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