A = (1, 0)
B = (2, 0)
mnohouholník1, f, g, h, C = Polygon(A, B, 3)
A_1 = (4, 0)
B_1 = (6, 0)
mnohouholník1_1, f_1, g_1, h_1, C_1 = Polygon(A_1, B_1, 3)
A_2 = (8, 0)
B_2 = (11, 0)
mnohouholník1_2, f_2, g_2, h_2, C_2 = Polygon(A_2, B_2, 3)
D = Midpoint(A_1, B_1)
E = Midpoint(B_1, C_1)
F = Midpoint(C_1, A_1)
G = (8, 1)
H = (8, 2)
I = (8, 3)
i = Line(I, C_2)
j = Line(H, i)
k = Line(G, j)
J = Intersect(k, h_2)
K = Intersect(j, h_2)
l = Line(J, f_2)
m = Line(K, l)
L = Intersect(l, g_2)
M = Intersect(m, g_2)
n = Line(M, h_2)
p = Line(K, g_2)
N = Intersect(n, p)
q = Line(N, h_2)
r = Line(L, q)
O = Intersect(f_2, q)
P = Intersect(r, f_2)
Q = (-1, 0)