Hello, antero!
How to construct a circle which is tangent to two parallel lines and another circle?
The lines and circle are given but it is not said anything else about them.
Since the solution circle is tangent to the two parallel lines,
. . it lies between the two lines
. . and its center lies on the line halfway between them.
The given circle must have a portion between the two lines.
The diagram could look like this. Code:
L ------------*--------------------------------------
:
:
:r
:
:
C - - - - - - * - - - - - - - - - - - -
*
* : *
* : *
* :R *
M -----------------*------------:------------*---------
:
* : *
o
P
We are given parallel lines $\displaystyle L$ and $\displaystyle M$
. . and a circle with center $\displaystyle P$ and radius $\displaystyle R.$
Construct the line $\displaystyle C$ halfway between and parallel to lines $\displaystyle L$ and $\displaystyle M.$
The center of our circle lies on line $\displaystyle C.$
The radius $\displaystyle r$ of this circle is the distance between lines $\displaystyle L$ and $\displaystyle C$.
Spread your compass to a distance $\displaystyle R+r$.
Using $\displaystyle P$ as center, swing an arc cutting line $\displaystyle C$ at point $\displaystyle Q.$
Point $\displaystyle Q$ is the center of our circle.
This diagram should be convincing . . .
Code:
L ----------*-*-*------------------------------------
* : *
* : *
* :r *
:
* : *
C - * - - - - o - - - - * - - - - - - -
* Q * *
* *
* r * * * : *
* o : *
* * * R :R *
M ----------*-*-*--*------*-----:------------*---------
* :
* * : *
o
P