A = (4, 1)
B = (10, 1)
poly1, f, g, h, i, j, k, C, D, E, F = Polygon(A, B, 6)
G = Point(f)
H = Point(f)
l = Line(H, g)
m = Line(G, g)
n = Line(A, g)
I = Intersect(l, h)
J = Intersect(m, h)
p = OrthogonalLine(G, f)
q = OrthogonalLine(H, f)
K = Intersect(p, i)
L = Intersect(q, i)
r = Line(L, h)
s = Line(K, h)
M = Intersect(r, g)
N = Intersect(s, g)
t = Line(N, f)
a = Line(M, f)
b = Line(I, f)
c = Line(J, f)
O = Intersect(c, j)
P = Intersect(b, j)
Q = Intersect(a, k)
R = Intersect(t, k)
d = Segment(H, O)
e = Segment(G, J)
f_1 = Segment(I, P)
g_1 = Segment(Q, M)
h_1 = Segment(R, L)
i_1 = Segment(N, K)
S = Intersect(d, f_1)
T = Intersect(f_1, h_1)
U = Intersect(h_1, i_1)
V = Intersect(f_1, i_1)
W = Intersect(e, f_1)
Z = Intersect(e, i_1)
A_1 = Intersect(g_1, i_1)
B_1 = Intersect(e, g_1)
C_1 = Intersect(d, e)
D_1 = Intersect(d, g_1)
E_1 = Intersect(g_1, h_1)
F_1 = Intersect(d, h_1)
poly2, c_1, b_1, a_1, z_1, w, v, u, t_1, s_1, f_2, e_1, d_1 = Polygon(C_1, B_1, A_1, Z, W, V, U, T, S, F_1, E_1, D_1)