A = (1.565678870802012, 6.624764263695851)
B = (-2, 0.6)
C = (7.899571034557349, 0.49854069547347435)
poly1, c, a, b = Polygon(A, B, C)
M = Point(c)
d = Line(M, a)
N = Intersect(b, d)
e = Line(N, c)
P = Intersect(a, e)
f = Line(P, b)
Q = Intersect(f, c)
I = Midpoint(A, B)
poly2, n, a_1, m = Polygon(A, M, N)
poly3, q, b_1, p = Polygon(B, P, Q)