A = (2, 2)
B = (8, 2)
poly1, f, g, h, i, C, D = Polygon(A, B, 4)
E = Point(i)
F = Point(f)
j = Segment(E, F)
G = (5, 2)
H = (2, 5)
k = Segment(G, H)
I = Point(f)
J = Point(i)
l = Segment(I, J)
K = Point(g)
L = Point(h)
m = Segment(K, L)
M = Point(h)
N = Point(g)
n = Segment(M, N)
O = Point(h)
P = (8, 7)
p = Segment(O, P)
q = Segment(K, I)
r = Segment(G, N)
s = Segment(F, P)
t = Segment(E, O)
a = Segment(H, M)
b = Segment(J, L)
Q = Intersect(k, t)
R = Intersect(k, s)
S = Intersect(l, s)
T = Intersect(l, r)
U = Intersect(m, r)
V = Intersect(m, s)
W = Intersect(n, s)
Z = Intersect(n, t)
A_1 = Intersect(m, t)
B_1 = Intersect(l, t)
C_1 = Intersect(l, a)
D_1 = Intersect(m, a)
poly2, f_1, e, q_1, r_1 = Polygon(F, E, Q, R)
poly3, g_1, r_2, s_1, t_1 = Polygon(G, R, S, T)
poly4, i_1, k_1, u, t_2 = Polygon(I, K, U, T)
poly5, u_1, n_1, w, v = Polygon(U, N, W, V)
poly6, s_2, v_1, a_1, b_1 = Polygon(S, V, A_1, B_1)
poly7, q_2, b_2, c_1, h_1 = Polygon(Q, B_1, C_1, H)
poly8, c_2, d_1, l_1, j_1 = Polygon(C_1, D_1, L, J)
poly9, m_1, d_2, a_2, z_1 = Polygon(M, D_1, A_1, Z)
poly10, z_2, o, p_1, w_1 = Polygon(Z, O, P, W)
E_1 = Midpoint(H, J)
F_1 = Midpoint(E, H)
G_1 = Midpoint(F, G)
H_1 = Midpoint(G, I)
I_1 = Midpoint(K, N)
J_1 = Midpoint(N, P)
c = Segment(E_1, J_1)
d = Segment(F_1, I_1)
e_1 = Segment(H, N)
f_2 = Segment(E, K)
g_2 = Segment(F, L)
h_2 = Segment(G, M)
i_2 = Segment(I, O)
j_2 = Segment(J, P)
K_1 = Midpoint(L, M)
L_1 = Midpoint(M, O)
k_2 = Segment(G_1, K_1)
l_2 = Segment(L_1, H_1)