First, locate the coordinates of two points
(8, -2) and (2, -8)
Find the slope
x₁=8 y₁=-2 x₂=2 y₂=-8
Using the slope formula,
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex][tex]m=\frac{-8+2}{2-8}[/tex][tex]=\frac{-6}{-6}[/tex][tex]=1[/tex]slope (m) = 1
Find the intercept
substitute x = 8 y=-2 and m = 1 in y=mx+ b and then solve for intercept b
-2 = 1(8) + b
-2 -8 = b
b = -10
Substitute the value of m and b into y=mx+b to form the equation
y = 1x - 10
Hence the equation is;
y = x - 10