Answer:
Cory bought 6.30 gallons of gas at the gas station.
Step-by-step explanation:
total amount = cost of snacks + amount spent on gas
[tex]$\$ 24.00=\$ 6.50+\$ 2.78 \mathrm{~g}$[/tex]
[tex]$\$ 2.78 \mathrm{~g}=\$ 24.00-\$ 6.50$[/tex]
[tex]$\$ 2.78 \mathrm{~g}=\$ 17.50$[/tex]
[tex]$g=\frac{\$ 17.50}{\$ 2.78}$[/tex]
[tex]$g=6.30$[/tex]
Learn more about gallon refer: