Compléter la figure avec les carrés de droite pour que l'axe en rouge soit un axe de symétrie de la figure.
Puis cliquer sur correction

correction

E = (22, 2)
A_1 = (-1, 1)
B_1 = (0, 1)
poly1_1, a_1, b_1, c_1, d_1, C_1, D_1 = Polygon(A_1, B_1, 4)
E_1 = (14, -1)
F_1 = Point(Circle[E_1, a_1])
G_1 = Rotate(F_1 + (b_1, 0), Angle[C_1 - B_1] + Angle[F_1 - E_1] - Angle[B_1 - A_1], F_1)
H_1 = Rotate(G_1 + (c_1, 0), Angle[D_1 - C_1] + Angle[G_1 - F_1] - Angle[C_1 - B_1], G_1)
poly2_1, e_1, f_1, g_1, h_1 = Polygon(E_1, F_1, G_1, H_1)
A_2 = (-1, -1)
B_2 = (0, -1)
poly1_2, a_2, b_2, c_2, d_2, C_2, D_2 = Polygon(A_2, B_2, 4)
E_2 = (14, 1)
F_2 = Point(Circle[E_2, a_2])
G_2 = Rotate(F_2 + (b_2, 0), Angle[C_2 - B_2] + Angle[F_2 - E_2] - Angle[B_2 - A_2], F_2)
H_2 = Rotate(G_2 + (c_2, 0), Angle[D_2 - C_2] + Angle[G_2 - F_2] - Angle[C_2 - B_2], G_2)
A_3 = (-1, -3)
B_3 = (0, -3)
poly1_3, a_3, b_3, c_3, d_3, C_3, D_3 = Polygon(A_3, B_3, 4)
E_3 = (14, 3)
F_3 = Point(Circle[E_3, a_3])
G_3 = Rotate(F_3 + (b_3, 0), Angle[C_3 - B_3] + Angle[F_3 - E_3] - Angle[B_3 - A_3], F_3)
H_3 = Rotate(G_3 + (c_3, 0), Angle[D_3 - C_3] + Angle[G_3 - F_3] - Angle[C_3 - B_3], G_3)
A_4 = (-1, -5)
B_4 = (0, -5)
poly1_4, a_4, b_4, c_4, d_4, C_4, D_4 = Polygon(A_4, B_4, 4)
E_4 = (14, -5)
F_4 = Point(Circle[E_4, a_4])
G_4 = Rotate(F_4 + (b_4, 0), Angle[C_4 - B_4] + Angle[F_4 - E_4] - Angle[B_4 - A_4], F_4)
H_4 = Rotate(G_4 + (c_4, 0), Angle[D_4 - C_4] + Angle[G_4 - F_4] - Angle[C_4 - B_4], G_4)
poly2_4, e_4, f_4, g_4, h_4 = Polygon(E_4, F_4, G_4, H_4)
A_5 = (-2, -7)
B_5 = (-1, -7)
poly1_5, a_5, b_5, c_5, d_5, C_5, D_5 = Polygon(A_5, B_5, 4)
E_5 = (14, -3)
F_5 = Point(Circle[E_5, a_5])
G_5 = Rotate(F_5 + (b_5, 0), Angle[C_5 - B_5] + Angle[F_5 - E_5] - Angle[B_5 - A_5], F_5)
H_5 = Rotate(G_5 + (c_5, 0), Angle[D_5 - C_5] + Angle[G_5 - F_5] - Angle[C_5 - B_5], G_5)
poly2_5, e_5, f_5, g_5, h_5 = Polygon(E_5, F_5, G_5, H_5)
I = (5, -6)
J = (13, -6)
poly3, i, j, k, l, K, L = Polygon(I, J, 4)
M = Point(k)
N = Point(i)
m = Line(M, N)
O = (6, 1)
P = (7, 1)
Q = (8, -1)
R = Point(m)
S = (7, -3)
T = (8, -3)
poly4, n, p, q, r, U, V = Polygon(O, P, 4)
poly5, s, t, i_1, j_1, W, Z = Polygon(Q, R, 4)
poly6, k_1, l_1, m_1, n_1, I_1, J_1 = Polygon(S, T, 4)
K_1 = (6, 2)
A_6 = (-11, 5)
B_6 = (-10, 5)
poly1_6, a_6, b_6, c_6, d_6, C_6, D_6 = Polygon(A_6, B_6, 4)
E_6 = (11, 1)
F_6 = Point(Circle[E_6, a_6])
G_6 = Rotate(F_6 + (b_6, 0), Angle[C_6 - B_6] + Angle[F_6 - E_6] - Angle[B_6 - A_6], F_6)
H_6 = Rotate(G_6 + (c_6, 0), Angle[D_6 - C_6] + Angle[G_6 - F_6] - Angle[C_6 - B_6], G_6)
poly2_6, e_6, f_6, g_6, h_6 = Polygon(E_6, F_6, G_6, H_6)
A_7 = (-13, 4)
B_7 = (-12, 4)
poly1_7, a_7, b_7, c_7, d_7, C_7, D_7 = Polygon(A_7, B_7, 4)
E_7 = (9, -1)
F_7 = Point(Circle[E_7, a_7])
G_7 = Rotate(F_7 + (b_7, 0), Angle[C_7 - B_7] + Angle[F_7 - E_7] - Angle[B_7 - A_7], F_7)
H_7 = Rotate(G_7 + (c_7, 0), Angle[D_7 - C_7] + Angle[G_7 - F_7] - Angle[C_7 - B_7], G_7)
poly2_7, e_7, f_7, g_7, h_7 = Polygon(E_7, F_7, G_7, H_7)
A_8 = (-13, -2)
B_8 = (-12, -2)
poly1_8, a_8, b_8, c_8, d_8, C_8, D_8 = Polygon(A_8, B_8, 4)
E_8 = (10, -3)
F_8 = Point(Circle[E_8, a_8])
G_8 = Rotate(F_8 + (b_8, 0), Angle[C_8 - B_8] + Angle[F_8 - E_8] - Angle[B_8 - A_8], F_8)
H_8 = Rotate(G_8 + (c_8, 0), Angle[D_8 - C_8] + Angle[G_8 - F_8] - Angle[C_8 - B_8], G_8)
poly2_8, e_8, f_8, g_8, h_8 = Polygon(E_8, F_8, G_8, H_8)
a = false