$A$

$B$

$D$

$C$

$D'$

$C'$

$M_1$

$M_2$

$S_1$

$S_2$

$Q_1$

$Q_2$

A = (1.36, -0.26)
B = Point(Segment[A, A + (10, 0)])
D = Point(Segment[A, A + (0, Segment[A, B])])
C: B + D - A
a_1 = Segment(A, B)
a_2 = Segment(C, B)
a_3 = Segment(C, D)
a_4 = Segment(A, D)
n = 1 (slider from 1 to 7, step 1)
D' = Rotate(D, 60*°, A)
C' = Rotate(C, 300*°, B)
b_1 = Segment(A, D')
b_2 = Segment(D, D')
b_3 = Segment(C, C')
b_4 = Segment(B, C')
c_1 = Circle(D, A, D')
c_2 = Circle(C, C', B)
M_1 = Midpoint(A, D)
M_2 = Midpoint(B, C)
d_1 = Segment(M_1, M_2)
S_1 = Intersect(c_1, d_1)
S_2 = Intersect(c_2, d_1, 1)
s_1 = Segment(A, S_1)
s_2 = Segment(D, S_1)
s_0 = Segment(S_2, S_1)
s_3 = Segment(S_2, C)
s_4 = Segment(S_2, B)
Q_1: 1 / 3 * D' + 2 / 3 * M_1
Q_2: 1 / 3 * C' + 2 / 3 * M_2
f_1 = Segment(D', M_1)
f_2 = Segment(C', M_2)