Step 1
Find the equation of the line AB
we know that
the equation of the line into point-slope form is equal to

Let

Find the slope m
we know that
the slope between two points is equal to

substitute



with the slope m and point A find the equation of the line AB

or
with the slope m and point B find the equation of the line AB

we will proceed to verify each case to determine the solution of the problem
Step 2
Verify case A
Case A)

the slope of the line is

but the point
-----> not lie on the line AB (see the graph)
therefore
the case A is not the solution
Step 3
Verify case B
Case B)

the slope of the line is

and the point
-----> is the point A
therefore
the case B is a solution
Step 4
Verify case C
Case C)

the slope of the line is

but the point
-----> not lie on the line AB (see the graph)
therefore
the case C is not the solution
Step 5
Verify case D
Case D)

the slope of the line is
-----> the slope is not equal to the slope AB
and the point
-----> not lie on the line AB (see the graph)
therefore
the case D is not the solution
the answer is
The equation
is a point-slope form of the line AB