Answer:
y = x + 1
Explanation:
Since slope is 1, then the equation will be formatted as y = x+b, since m is 1. Now we need to solve for b, since we're given a coordinate that is on the line, replace x and y for these two points to solve for b.
y = x + b (subsitute)
-1 = -2 + b (add 2 to both sides)
1 = b
So your final equation is y = x + 1.