A = (3, -2)
B = (6, -2)
f = Line(A, B)
C = (4, 0)
g = Line(B, C)
h = Line(C, A)
poly1, c, a, b = Polygon(A, B, C)
D = Point(h)
E = Point(g)
F = Point(f)
G = Point(h)
H = Point(g)
I = Point(f)
poly2, d, e, f_1, g_1, h_1, i = Polygon(D, E, F, G, H, I)
J = Point(h)
j = Line(J, d)
K = Intersect(g, j)
k = Line(K, e)
L = Intersect(f, k)
l = Line(L, f_1)
M = Intersect(h, l)
m = Line(M, g_1)
N = Intersect(g, m)
n = Line(N, h_1)
O = Intersect(f, n)
p = Line(O, i)
P = Intersect(j, p)
poly3, p_1, k_1, l_1, m_1, n_1, o = Polygon(P, K, L, M, N, O)