A = Intersect(xAxis, yAxis)
B = Point(xAxis)
a = Segment(A, B)
C = Point(a)
c = Circle(A, C)
d = Circle(C, A)
e = Circle(B, C)
f = Circle(C, B)
b = OrthogonalLine(A, a)
g = OrthogonalLine(C, a)
D = Intersect(c, b, 2)
E = Intersect(d, g, 2)
poly1, a_1, c_1, e_1, d_1 = Polygon(A, C, E, D)
F = Intersect(e, f, 2)
poly2, f_1, c_2, b_1 = Polygon(C, B, F)
text1: "longueur du côté du carré : " + a_1 + " cm"
text2: "longueur du côté du triangle  : " + (10 - a_1) + " cm"
text3: "Périmètre du carré : " + (4 a_1) + " cm"
text4: "Périmètre du triangle équilatéral : " + (3 * (10 - a_1)) + " cm"