Answer:
y = 10x - 2
Step-by-step explanation:
From the table attached,
Let the equation of a line passing through two points [tex](x_1,y_1)[/tex] and [tex](x_2,y_2)[/tex] is,
y = mx + b
Here, m = slope of the line
b = y-intercept
Since, m = [tex]\frac{y_2-y_1}{x_2-x_1}[/tex]
Slope of the line passing through (0, -2) and (1, 8) will be,
m = [tex]\frac{8+2}{1-0}[/tex]
m = 10
y-intercept 'b' = -2 [Output value at x = 0]
Therefore, equation of the line will be,
y = 10x - 2