Given a point

lying on a line

and given a circle

Construct a circle passing through the point

and touching the circle

and the line
%V0
Given a point $P$ lying on a line $g,$ and given a circle $K.$ Construct a circle passing through the point $P$ and touching the circle $K$ and the line $g.$