A = (2.38, -0.6)
B = (6.8, -0.62)
C = (4.62, 3.06)
polígono1, c, a, b = Polygon(A, B, C)
M_C = Midpoint(A, B)
M_A = Midpoint(B, C)
M_B = Midpoint(C, A)
d = Segment(A, M_A)
e = Segment(B, M_B)
BM_B = Segment(C, M_C)
G = Intersect(d, e)
GB = Segment(G, B)
GA = Segment(G, A)
GC = Segment(G, C)
j = Length(GB)
k = Length(GB)
l = Length(GA)
texto1: "$ A=(a_1,a_2)=" + (LaTeX[A]) + " $"
texto2: "B=(b_1,b_2)=" + (LaTeX[B]) + ""
texto3: "$ C=(c_1,c_2)=" + (LaTeX[C]) + " $"
texto4: "G=\left(  \frac{a_1+b_1+c_1}{3} , \frac{a_2+b_2+c_2}{3} \right) =" + (LaTeX[G]) + ""