Le triangle ABC est rectangle en A.
Les trois quadrilatères sont des carrés.

A = (2.039179178048357, -0.10298828347875551)
B = (5.38650085658478, 0.5158876189785365)
a = Line(A, B)
b = OrthogonalLine(A, a)
C = Point(b)
c = Line(C, B)
d = Segment(A, B)
e = Segment(B, C)
f = Segment(C, A)
α = Angle(B, A, C)
poly1, c_1, b_1, g, h, D, E = Polygon(C, B, 4.0)
poly2, b_2, a_1, i, j, F, G = Polygon(B, A, 4.0)
poly3, a_2, c_2, k, l, H, I = Polygon(A, C, 4.0)
Textepoly1: "Aire = " + poly1
Textepoly3: "Aire = " + poly3
Textepoly2: "Aire = " + poly2
distanceCB = Distance(C, B)
TexteCB: Name[C] + (Name[B]) + " \, = \, " + distanceCB
distanceAB = Distance(A, B)
TexteAB: Name[A] + (Name[B]) + " \, = \, " + distanceAB
distanceAC = Distance(A, C)
TexteAC: Name[A] + (Name[C]) + " \, = \, " + distanceAC