Polígono 1

Polígono 2

Polígono 3

A = (-2.36, 1.74)
B = (1.98, 1.74)
c = Circle(A, B)
d = Circle(B, A)
C = Intersect(c, d, 1)
pol1, b, c_1, a = Polygon(C, A, B)
D = Midpoint(A, C)
E = Midpoint(C, B)
F = Midpoint(B, A)
f = Line(A, E)
g = Line(B, D)
h = Line(C, F)
G = Intersect(f, g)
e = Circle(G, C)
H, I = Intersect(e, g)
J, K = Intersect(e, f)
L, M = Intersect(e, h)
p = Segment(A, B)
q = Segment(C, A)
r = Segment(A, B)
s = Segment(A, B)
pol2, c_2, i_1, a_1, m_1, b_1, k_1 = Polygon(C, I, A, M, B, K)
N = Midpoint(M, H)
O = Midpoint(H, K)
P = Midpoint(K, L)
Q = Midpoint(L, I)
R = Midpoint(I, J)
S = Midpoint(J, M)
t = Line(G, S)
f_1 = Line(G, Q)
g_1 = Line(G, O)
T, U = Intersect(e, f_1)
V = Intersect(k_1, t)
W, Z = Intersect(e, t)
A_1, B_1 = Intersect(e, g_1)
pol3, a_2, i_2, u, l_1, w, k_2, b_2, h_1, t_1, m_2, z_1, a_3 = Polygon(A_1, I, U, L, W, K, B_1, H, T, M, Z, A)
C_1 = Midpoint(I, U)
D_1 = Midpoint(U, L)
E_1 = Midpoint(L, W)
F_1 = Midpoint(W, K)
G_1 = Midpoint(K, B_1)
H_1 = Midpoint(B_1, H)
I_1 = Midpoint(H, T)
J_1 = Midpoint(T, M)
K_1 = Midpoint(M, Z)
L_1 = Midpoint(Z, A)
M_1 = Midpoint(A, A_1)
N_1 = Midpoint(A_1, I)
j_1 = Line(G, E_1)
n_1 = Line(G, F_1)
p_1 = Line(G, G_1)
q_1 = Line(G, H_1)
r_1 = Line(G, I_1)
O_1, P_1 = Intersect(e, q_1)
Q_1, R_1 = Intersect(e, r_1)
s_1 = Line(G, D_1)
S_1, T_1 = Intersect(e, s_1)
U_1, V_1 = Intersect(e, j_1)
W_1, Z_1 = Intersect(e, n_1)
A_2, B_2 = Intersect(e, p_1)
pol4, o_1, i_3, q_2, u_1, t_2, c_3, v_1, w_1, z_2, k_3, b_3, b_4, p_2, b_5, r_2, t_3, s_2, m_3, u_2, z_3, w_2, a_4, a_5, a_6 = Polygon(O_1, I, Q_1, U, T_1, C, V_1, W, Z_1, K, B_2, B_1, P_1, B, R_1, T, S_1, M, U_1, Z, W_1, A, A_2, A_1)
D_2, E_2 = Intersect(c, d)
pol5, b_6, d_2, a_7 = Polygon(D_2, A, B)
Primeiro = true
i = false
j = false
k = false