point slope formula:

you can derive this from definition of a slope by dividing both sides by

if you know distance d, then use the distance formula:

substitute your known points for

then solve the equation for

It is easier if you know trig.

solve for

or