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:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]So I use the numbers in the table to fill the equation so:
[tex]\begin{gathered} m=\frac{28-8}{2-1} \\ m=\frac{20}{1} \\ m=20 \end{gathered}[/tex]now for the intercept we replace x=0 and use the coordinate (1,8) so:
[tex]20=\frac{y-8}{0-1}[/tex]and we solve for y so:
[tex]\begin{gathered} -20=y-8 \\ -20+8=y \\ -12=y \end{gathered}[/tex]So the equation is:
[tex]y=20x+(-12)[/tex]