A = (2.88, -1.2)
B = (7.68, -2.28)
poly1, f, g, h, i, C, D = Polygon(A, B, 4)
E = Midpoint(D, C)
F = Midpoint(C, B)
G = Midpoint(B, A)
H = Midpoint(A, D)