A = (-2.78, -2.86)
B = (11.24, -3.1)
C = (9.374, 3.584)
t1, b, c, a = Polygon(C, A, B)
D = Midpoint(A, B)
E = Midpoint(B, C)
F = Midpoint(C, A)
f = Segment(F, D)
g = Segment(D, E)
h = Segment(E, F)
t2, e, c_1, f_1 = Polygon(C, F, E)
t3, d, f_2, a_1 = Polygon(F, A, D)
t4, f_3, d_1, e_1 = Polygon(D, E, F)
t5, e_2, d_2, b_1 = Polygon(D, B, E)
kaugusFC = Distance(F, C)
TekstFC: Name[F] + (Name[C]) + " = " + kaugusFC
kaugusCE = Distance(C, E)
TekstCE: Name[C] + (Name[E]) + " = " + kaugusCE
kaugusEB = Distance(E, B)
TekstEB: Name[E] + (Name[B]) + " = " + kaugusEB
kaugusBD = Distance(B, D)
TekstBD: Name[B] + (Name[D]) + " = " + kaugusBD
kaugusDA = Distance(D, A)
TekstDA: Name[D] + (Name[A]) + " = " + kaugusDA
kaugusAF = Distance(A, F)
TekstAF: Name[A] + (Name[F]) + " = " + kaugusAF
kaugusFD = Distance(F, D)
TekstFD: Name[F] + (Name[D]) + " = " + kaugusFD
kaugusDE = Distance(D, E)
TekstDE: Name[D] + (Name[E]) + " = " + kaugusDE
kaugusEF = Distance(E, F)
TekstEF: Name[E] + (Name[F]) + " = " + kaugusEF
tekst1: "S_{ABC} =" + (LaTeX[t1]) + ""
tekst2: "S_{CFE}=" + (LaTeX[t2]) + " 

S_{ADF}=" + (LaTeX[t3]) + "

S_{DBE}=" + (LaTeX[t5]) + " 

S_{DEF}= " + (LaTeX[t4]) + ""
VäikseidKolmnurki: t1 / t2
Suhe: t2 / t1
tekst3: "S_{CFE}= S_{ADF}= S_{DBE}= S_{DEF}=\frac{S_{ABC}}{" + (LaTeX[VäikseidKolmnurki]) + "}"