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,
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