we have a table that describe the line and we need to finde the slope and the intercept with the y axis, so the slope can be found with this equation:

So I use the numbers in the table to fill the equation so:

now for the intercept we replace x=0 and use the coordinate (1,8) so:

and we solve for y so:

So the equation is:
