A = (5, 1)
B = (-1, 4)
C = (1, -1)
triangolo, c, a, b = Polygon(A, B, C)
D = Midpoint(A, B)
E = Midpoint(B, C)
F = Midpoint(A, C)
mediana_A = Segment(A, E)
mediana_B = Segment(B, F)
mediana_C = Segment(C, D)
G = Centroid(triangolo)
T1: "Baricentro: G(" + (x(G)) + ";" + (y(G)) + ")"