triangles_isoperimetriques

C = (3.048348085038978, 3.109238229974003)
B = Point(xAxis)
A = Point(xAxis)
t1, c, a, b = Polygon(A, B, C)
f = Line(A, B)
Dd = Midpoint(A, B)
h = OrthogonalLine(Dd, f)
l = Sum({Distance[A, B], Distance[A, C], Distance[B, C]})
d = Circle(A, (l - c) / 2)
g = Line(C, f)
D = Intersect(g, h)
t2, e, a_1, b_1 = Polygon(A, B, D)
E_1, E = Intersect(d, h)
t3, g_1, a_2, b_2 = Polygon(A, B, E)
L = Sum({c, a_2, b_2})
i = Area(t1)
j = Area(t3)
text1: "L'aire du triangle ABC est " + i + ".

L'aire du triangle ABE est " + j + "."
text3: "Le périmètre du triangle ABC est " + l + ". 

Le périmètre du triangle ABE est " + L + "."