When you are given two points on a line, you can use them to find the gradient of the line.
Gradient = rise/run
Say you are given two points (a,b) and (c,d)
Gradient = (d-b)/(c-a)
In the case of your question,
Gradient
= [(-3) - (-1)] ÷ [(-4) - (-2)]
= -2 ÷ -2
= 1
From there, you can sub the gradient and one of the points into the gradient-intercept form of a line to get:
y - (-1) = 1(x - (-2))
y + 1 = x + 2
y = x + 1