Boek I propositie 2

G = (5, -3)
lengte = 3.2 (slider from 0 to 5, step 0.1)
A = (-1, -1)
q = Ray(A, G)
p = Circle(A, lengte)
B = Intersect(p, q)
a = Segment(A, B)
C = (3.103923647932141, -0.8350539652630095)
c = Circle(B, C)
d = Circle(C, B)
D = Intersect(c, d, 1)
b = Segment(D, B)
e = Segment(D, C)
f = Circle(B, A)
g = Line(D, B)
E = Intersect(f, g, 2)
h = Segment(B, E)
i = Segment(B, C)
k = Circle(D, E)
j = Line(D, C)
F = Intersect(k, j, 2)
l = Segment(C, F)
stap = 12 (slider from 0 to 12, step 1)
A_1 = (16, -7)
B_1 = (19, -7)
f_1 = Segment(A_1, B_1)
c_1 = Circle(A_1, f_1)
d_1 = Circle(B_1, f_1)
C_1 = Intersect(c_1, d_1, 1)
g_1 = Segment(B_1, C_1)
h_1 = Segment(C_1, A_1)
D_1 = (17.5, -2)
e_1 = Circle(D_1, 1.5)
i_1 = Line(D_1, h)
E_1 = Intersect(e_1, i_1, 2)
F_1 = Midpoint(E_1, D_1)
j_1 = Segment(D_1, F_1)
k_1 = Segment(F_1, E_1)
G_1 = (17.5, 2)
p_1 = Circle(G_1, 1.5)
l_1 = Line(G_1, a)
H_1 = Intersect(p_1, l_1, 1)
m_1 = Segment(G_1, H_1)