A = (2.62, 2.14)
B = (1.86, -3.38)
a = Segment(A, B)
C = (9.06, -2.5)
b = Segment(B, C)
c = Segment(C, A)
M = Point(a)
N = Point(c)
d = Line(M, N)
e = Line(B, c)
f = Line(C, a)
D = Intersect(d, e)
E = Intersect(d, f)
g = Segment(D, E)
poly1, n, a_1, m = Polygon(A, M, N)
poly2, m_1, n_1, c_1, b_1 = Polygon(M, N, C, B)
texte2: "aire de MNCB= " + poly2 + ""
AM = Distance(A, M)
AB = Distance(A, B)
r: AM / AB
AN = Distance(A, N)
AC = Distance(A, C)
s: AN / AC
texte4: "s = \frac{AN}{AC} = " + (LaTeX[s]) + ""
texte3: "r = \frac{AM}{AB} = " + (LaTeX[r]) + ""
texte1: "aire de AMN=" + (LaTeX[poly1]) + ""