Partie 2 :

A = (1.1, 3.7800000000000002)
B = (-0.08, -3.34)
a = Segment(A, B)
C = (8.88, -2.88)
b = Segment(A, C)
c = Segment(C, B)
M = Midpoint(a)
d = Line(M, c)
N = Intersect(d, b)
distanceAN = Distance(A, N)
TexteAN: Name[A] + (Name[N]) + " \, = \, " + distanceAN
distanceNC = Distance(N, C)
TexteNC: Name[N] + (Name[C]) + " \, = \, " + distanceNC