Solution.

 

You need two points A and B on g with equal distance to P.

  • Simply draw a circle around P, through a point A on the line g. Make sure, the point A is really on g!
  • Then construct the middle perpendicular to A and B.

Back