Let $L$ be a line and $P$ be a point outside of the line. Given a radius $r$, construct a circle with radius $r$ that passes through $P$ and is tangent to the given line.
I know the center of the circle asked must be a point in the circle with radius $r$ and center $P$, but I don't know where to take it from there.
A circle is the set of points with distance $r$ from the center. You want to find the center that is distant of $r$ from $P$ and from $L$.
To be tangent to $L$, your circle must have its center at a distance of $r$ from $L$. This constraints the center to be onto one the two lines parallel to $L$ at a distance of $r$ from $L$.
To contains $P$, your circle must have its center at a distance of $r$ from $P$. This constraints the center to be onto the circle or radius $r$ and center $P$.
Hence your center must be at the intersection of the two constraints.