A = (-0.03856, -0.5035)
B = (3.68824, 3.2233)
C, D = carré(A, B)
E = (7.16004, 0.9453)
F = (11.46004, 0.9453)
G = Midpoint(C, A)

Tool: carré
carré[ <Point>, <Point> ]
Input: C, D
Output: E, F

poly1, a, b, c, d, E, F = Polygon(C, D, 4)