I have two directional points. Point A going to point B. Each point has an X and Y coordinate.
What I am trying to do is find a point C, with distance d. The two constraints are that C has to be perpendicular to where B ends AND BC is always 90 degrees anti-clockwise relative to AB.
Essentially what I am asking is what are the steps to solve for C using those two constraints.

If $A$,$B$ are represented as complex numbers $a,b$, then $C$ is represented by the complex number $c$, where $c$ is given by $$c=b+(di)\frac{b-a}{|b-a|}$$