The slope-intercept form of a line is:
y = mx + b
where m is the slope and b is the y-intercept
The slope of the line that passes through the points (x1, y1) and (x2, y2) is found as follows:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]In this case, the line passes through (2,10) and (-8,-10), and its slope is:
[tex]m=\frac{-10-10}{-8-2}=\frac{-20}{-10}=2[/tex]Substituting into the general equation with m = 2, and point (2, 10),
y = mx + b
10 = 2(2) + b
10 = 4 + b
10 - 4 = b
6 = b