A = (4.96, 4.22)
B = (-0.16, -2.26)
f = Segment(A, B)
C = (4.56, -2.7)
g = Segment(A, C)
h = Segment(C, B)
M = Point(f)
i = Line(M, h)
N = Intersect(i, g)
j = Segment(A, M)
k = Segment(A, N)
l = Segment(N, M)
texte1: ("AM/AB=" * j / f)
texte2: ("AN/AC=" * k / g)
texte3: ("MN/BC=" * l / h)