We need to find the slope
substitute the values in the formula given above
Find the intercept using y = mx + b
where b is the intercept
x = 1 y= 1 and m = -1
Now solve for b
1 = 1(-1) + b
1 = -1 + b
1 + 1 = b
2 = b
Form the equation by substituting the value of m and b in y = mx + b
That is;
y = - x + 2