A = (2, 4)
B = (3, 4)
poly1, a, b, c, d, C, D = Polygon(A, B, 4)
e = Ray(D, A)
E = Point(e)
f = Circle(A, E)
g = Segment(A, E)
h = Circle(C, g)
F = Intersect(h, c, 1)
i = Line(F, E)
poly2, e_1, d_1, f_1 = Polygon(D, F, E)
I = Intersect(a, i)
j = Segment(A, I)
text1: " la longueur de AI est " + j
poly3, e_2, a_1, i_1 = Polygon(A, I, E)
text2: "l'aire de AIE est " + poly3