which of the following is the equation of a line that passes through (-2, -1) and (-4, -3)

A. y = 1/2x + 1
B. y = x +1
C. y = 1/2x - 1
D. y = x -1

i already know the answer is B but how do you solve questions like these?