Get perpendicular rotation between two points?

Given this picture:

I know Point A, Point B and the distance. How can I get the location of the white dot?