A = (4.7, 2.34)
B = (7.92, 2.96)
a = Line(A, B)
C = (8.94, 0.1)
b = Line(A, C)
M = Point(a)
c = Segment(B, C)
d = Line(M, c)
N = Intersect(b, d)
e = Segment(M, N)
distanceAB = Distance(A, B)
TexteAB: Name[A] + (Name[B]) + " \, = \, " + distanceAB
distanceAC = Distance(A, C)
TexteAC: Name[A] + (Name[C]) + " \, = \, " + distanceAC
distanceCB = Distance(C, B)
TexteCB: Name[C] + (Name[B]) + " \, = \, " + distanceCB
distanceAN = Distance(A, N)
TexteAN: Name[A] + (Name[N]) + " \, = \, " + distanceAN
distanceAM = Distance(A, M)
TexteAM: Name[A] + (Name[M]) + " \, = \, " + distanceAM
distanceMN = Distance(M, N)
TexteMN: Name[M] + (Name[N]) + " \, = \, " + distanceMN