The form of linear equation that describes line is:

First we must calculate the slope.

Now it looks a bit more like this:

All we need now is to put in y and x from one point doesn't matter which. I'll pick A.
The equation now looks like this:

Solve for n.

And finally write the equation.

Hope this helps.
r3t40