A = (2.68, 1.36)
B = (4.78, 0.22)
poly1, C, D, a, b, c, d = Carré(A, B)
E = (2.54, 3.18)
poly2, F, G, e, f, g, h = Carré(A, E)
i = Segment(E, B)
j = Segment(D, G)
H = Intersect(i, j)
k = Segment(E, G)
l = Segment(D, B)
I = Midpoint(k)
J = Midpoint(l)
m = Line(G, E)
n = Line(B, D)
K = Intersect(m, n)

Tool: Carré
Carré à partir de 2 sommets
Input: D, E
Output: poly2, G, F, d, e, g, f

F = Rotate(E, 90°, D)
G = Rotate(D, 90°, F)
poly2, d, e, g, f = Polygon(D, E, G, F)