A = (0.5117636609669092, -7.804794144421208)
B = (3.50061102226596, -7.86066045023988)
R = Segment(A, B)
C = (0.48383050805757266, -8.39139035551728)
D = (2.439151211711158, -8.391390355517283)
r = Segment(C, D)
O = (3.9196083159060153, -0.48630808217492943)
c = Circle(O, R)
O' = (9.813503579776109, -0.8494390699963096)
d = Circle(O', r)
xR: x(O)
yR: y(O)
xr: x(O')
yr: y(O')
e = Distance(r, R)
k: (R + r) / (R - r)
X0: (xR + xr) / 2.0 + k * (xr - xR) / 2.0
Y0: (yR + yr) / 2.0 + k * (yr - yR) / 2.0
P: (X0, Y0)
E = Midpoint(O', P)
F = Midpoint(O, P)
f = Circle(E, P)
G = Intersect(d, f, 1.0)
H = Intersect(d, f, 2.0)
g = Circle(F, P)
I = Intersect(c, g, 1.0)
J = Intersect(c, g, 2.0)
a = Line(I, G)
b = Line(J, H)
h = Segment(O, I)
i = Segment(O, J)
j = Segment(O', G)
l = Segment(O', H)
m = Segment(O, O')
K, L = Intersect(c, a)
M, N = Intersect(c, b)
Q, S = Intersect(d, b)
T, U = Intersect(d, a)
n = Segment(L, U)
p = Segment(S, N)
V = (16.37779451347029, -1.100837446180342)
q = Circle(V, R)
s = Circle(V, R + r)
W = Point(s)
t = Circle(W, r)
Z = (0.5117636609669093, -9.173518636978717)
A_1 = (1.517357165703039, -9.201451789888052)
a_1 = Segment(Z, A_1)
B_1 = (28.053852429573126, -1.100837446180342)
c_1 = Circle(B_1, R)
d_1 = Circle(B_1, r)
e_1 = Circle(B_1, a_1)