A = (1.6, -2.68)
B = (7.16, 1.8)
C = (11.02, -6.1)
a = Line(A, B)
b = Line(A, C)
c = Segment(B, C)
D = Point(a)
d = Line(D, c)
E = Intersect(d, b)
r_1: Distance[E, D] / Distance[B, C]
r_2: Distance[D, A] / Distance[B, A]
r_3: Distance[A, E] / Distance[A, C]
texte1: "$ \frac{DP}{BC} $=+" + (LaTeX[r_1]) + ""
texte2: "$ \frac{AD}{AB} $=" + (LaTeX[r_2]) + ""
texte3: "$ \frac{AE}{AC} $=" + (LaTeX[r_3]) + ""