A = (0.54, -3.18)
B = (11.64, -3.24)
C = (2.66, 3.8200000000000003)
poli1, c, a, b = Polygon(A, B, C)
D = Midpoint(c)
E = Midpoint(a)
F = Midpoint(b)
d = Segment(C, D)
e = Segment(F, B)
f = Segment(A, E)
G = Intersect(d, f)
distanzaAG = Distance(A, G)
TestoAG: "\overline{" + (Name[A]) + (Name[G]) + "} \, = \, " + distanzaAG
distanzaGE = Distance(G, E)
TestoGE: "\overline{" + (Name[G]) + (Name[E]) + "} \, = \, " + distanzaGE
distanzaGD = Distance(G, D)
TestoGD: "\overline{" + (Name[G]) + (Name[D]) + "} \, = \, " + distanzaGD
distanzaFG = Distance(F, G)
TestoFG: "\overline{" + (Name[F]) + (Name[G]) + "} \, = \, " + distanzaFG
distanzaGB = Distance(G, B)
TestoGB: "\overline{" + (Name[G]) + (Name[B]) + "} \, = \, " + distanzaGB
distanzaGC = Distance(G, C)
TestoGC: "\overline{" + (Name[G]) + (Name[C]) + "} \, = \, " + distanzaGC