This construction builds on the previous construction.

 

Construct the line through P that is perpendicular to line g.

Hint: Use the perpendicular bisector between two points on g that are equally distant to  P (How will you construct the two points?)

The solution is here.

Is it possible to solve this problem, if P is a point on g?

When using C.a.R., you can do this entire construction easily by making use of the "Perpendicular line (2)" tool:

"Perpendicular line" tool.

Just click on the tool, then click on the line, then click on the point (the instructions for using the tool appear under the construction window when you click the tool's icon)

Continue