a = (0.84, 5.14)
b = (-1.94, -0.54)
c = (5.54, -1.48)
poly1, c_3, a_3, b_3 = Polygon(a, b, c)
d_1 = OrthogonalLine(a, a_3)
e = OrthogonalLine(b, b_3)
h = OrthogonalLine(c, c_3)
a' = Midpoint(a_3)
b' = Midpoint(b_3)
c' = Midpoint(c_3)
f = Segment(a, a')
g_4 = Segment(b, b')
g = Intersect(f, g_4)
i = Segment(c, c')
poly2, g_1, a_1, b_1 = Polygon(a, b, g)
poly3, c_1, a_2, g_2 = Polygon(a, g, c)
poly4, c_2, b_2, g_3 = Polygon(b, g, c)