I = (10.434751999999998, -3.17441)
J = (17.017151999999996, -3.15021)
E = (-1.8830480000000005, -4.86841)
G = (8.111552000000001, -4.86841)
i, j, k, l, K, L, M, N, O, P = carré_milieu(E, G)
Q = Midpoint(L, P)
R = Midpoint(P, K)
S = Midpoint(G, N)
T = Midpoint(N, E)

Tool: carré_milieu
carré_milieu[ <Point>, <Point> ]
Input: A, B
Output: e, f, g, h, C, D, F, G, H, E

poly1, a, b, c, d, C, D = Polygon(A, B, 4)
E = Midpoint(c)
F = Midpoint(b)
G = Midpoint(a)
H = Midpoint(d)
e = Segment(D, C)
f = Segment(C, B)
g = Segment(B, A)
h = Segment(A, D)