The equation of a line is:

where (x1,y1) is a point in the line and m is the slope.
In our case we have two points but we don't have the slope yet, to find it we need to remember that the slope is given by:

Then, in our case:

Then, the equation of the line is:

Therefore the answer is A.