To determine which store has the better buy for a gallon of gasoline, we can compare the cost per gallon for each store.
For Store A:
- At 5 gallons, the cost is $20, so the cost per gallon is $20 / 5 = $4.00 per gallon.
- At 10 gallons, the cost is $40, so the cost per gallon is $40 / 10 = $4.00 per gallon.
- At 15 gallons, the cost is $60, so the cost per gallon is $60 / 15 = $4.00 per gallon.
For Store B:
- At 5 gallons, the cost is $18.75, so the cost per gallon is $18.75 / 5 = $3.75 per gallon.
- At 10 gallons, the cost is $37.50, so the cost per gallon is $37.50 / 10 = $3.75 per gallon.
- At 15 gallons, the cost is $56.25, so the cost per gallon is $56.25 / 15 = $3.75 per gallon.
Comparing the cost per gallon:
- Store A: $4.00 per gallon
- Store B: $3.75 per gallon
Since $3.75 per gallon (Store B) is cheaper than $4.00 per gallon (Store A), Store B has the better buy for a gallon of gasoline.
Therefore, the answer is 2 for Store B.