Answer:
y = x + 3
Explanation:

y - intercept can be found by using one of the two points and plugging it into the slope intercept formula (y=mx+b)
I will use (-2,1) because it is easier
y = 1
x = -2
m = 1
1 = 1(-2) + b
1 = -2 + b
1 + 2 = -2 + 2 + b
3 = b