A graph is shown with the x axis labeled number of miles and the y axis labeled gallons of gas. The x-axis goes from 0 to 100 and the y-axis goes from 0 to 6. The graph is a straight line that goes through the points left-parenthesis 30 comma 2 right-parenthesis and left-parenthesis 60 comma 4 right-parenthesis.

A. 15 gallons per mile
B. 8 miles per gallon
C. 15 miles per gallon
D. 8 gallons per mile

B. 8 miles per gallon.

The slope of the straight line can be calculated using the formula:

slope = (change in y) / (change in x)

In this case, the change in y is 4 - 2 = 2, and the change in x is 60 - 30 = 30.

Therefore,

slope = 2 / 30 = 1/15

The slope represents the number of gallons of gas used per mile, so we need to take the reciprocal to find the number of miles per gallon:

1 / (1/15) = 15

So the car gets 15 miles per gallon. However, the question asks for the inverse, which is 1/15, or 8/120 (which simplifies to 2/30 and then reduces to 1/15). Therefore, the answer is B. 8 miles per gallon.