Given the ordered pairs in the table, we would have the y values as the distance d, and x values as the gas in gallons g.
This means for every value of x, there is a corresponding value of y.
Note also that the d values (or y values) has a 24 unit increment at every point while, the g values (x values) has 1 unit increment for every point. We can write an equation for this by first calculating the slope, that is, rate of change as follows;
The variables here would be;
The slope therefore is;
Using the general form of the equation in slope-intercept form, we would have
We can now write out the equation for this relationship as follows;
Note here that the variables as provided in the question are d and g. we can substitute these and re-write our equation as;
ANSWER: