how to find the slope of the last question because the rate of change is not constant

If we locate those points in a chart, we can see this is a linear function.in
in order to calculate its slope, we can select any two points (x1,y1) and (x2,y2)
and use the following formula
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]let's use