Is there a simple formula that gives the coordinates of a point P, which is the endpoint of a line of length d that passes perpendicularly through the midpoint of another line? The distance d of the endpoint P from the midpoint m of the perpendicular line is known.
For instance, if the coordinates of the endpoints of the perpendicular line are $(x_1,y_1)$ and $(x_2,y_2)$, then it is easy to figure out the coordinates of the mid-point $((x_1+x_2)/2, (y_1+y_2)/2)$. See the figure for clarification.enter image description here