Use the image and table to answer the question.

An illustration shows a graph depicting cost of gasoline per gallon in dollars in store A. The horizontal axis shows gallons ranging from 0 to 20 in increments of 5. The vertical axis shows the cost in dollars ranging from 0 to 70 in increments of 10. Four data points are plotted on the graph at left parenthesis 0 comma 0 right parenthesis, left parenthesis 5 comma 20 right parenthesis, left parenthesis 10 comma 40 right parenthesis, and left parenthesis 15 comma 60 right parenthesis. A line connects all the data points.
Store B
Cost of Gasoline per Gallon
Gallons ($) Cost
5 18.75
10 37.50
15 56.25

The proportional relationships between the cost and the number of gallons of gasoline for Store A and Store B are displayed in the graph and table. Which store has the better buy for a gallon of gasoline? Enter 1 for Store A. Enter 2 for Store B.

has the better buy for a gallon of gasoline.

To determine which store has the better buy for a gallon of gasoline, we can compare the prices per gallon for each store.

For Store A, the cost of gasoline per gallon can be calculated as follows:
- At 0 gallons, the cost is $0.
- At 5 gallons, the cost is $20.
- At 10 gallons, the cost is $40.
- At 15 gallons, the cost is $60.

For Store B, the cost of gasoline per gallon can be calculated as follows:
- At 5 gallons, the cost is $18.75.
- At 10 gallons, the cost is $37.50.
- At 15 gallons, the cost is $56.25.

Comparing the prices per gallon for the two stores, we see that Store A has a constant increase of $20 for every 5 gallons, while Store B has a constant increase of $18.75 for every 5 gallons.

Therefore, Store B has the better buy for a gallon of gasoline as it offers a lower price per gallon compared to Store A.

Thus, the answer is 2 for Store B.