A = (2, 2)
B = (7, 7)
C = (12, 2)
t1, c, a, b = Polygon(A, B, C)
D = Midpoint(A, B)
E = Midpoint(B, C)
F = Midpoint(C, A)
f = Segment(D, F)
g = Segment(D, E)
h = Segment(E, F)
t2, f_1, d, e = Polygon(D, E, F)
t3, e_1, d_1, b_1 = Polygon(D, B, E)
t4, f_2, c_1, e_2 = Polygon(C, E, F)
t5, a_1, f_3, d_2 = Polygon(F, D, A)
tekst1: "S_{ABC}=" + (LaTeX[t1]) + ""
tekst4: "S_{DBE}=" + (LaTeX[t4]) + ""
tekst5: "S_{FDE}=" + (LaTeX[t2]) + ""
tekst2: "S_{ADF}=" + (LaTeX[t3]) + ""
tekst3: "S_{FEC}=" + (LaTeX[t5]) + ""
Suhe: t1 / t2
tekst6: "\frac{S_{ABC}}{S_{FDE}}=\frac{" + (LaTeX[Suhe]) + "}{1}"