Calcul le périmètre, puis l'aire du repère d'indice.

A = (2, 5)
B = (12, 5)
C = (12, -15)
D = (9, -15)
E = (9, -5)
F = (2, -5)
a = Segment(A, B)
b = Segment(B, C)
c = Segment(C, D)
d = Segment(D, E)
e = Segment(E, F)
f = Segment(F, A)
distanceAB = Distance(A, B)
distanceBD = Distance(B, C)
distanceAG = Distance(A, F)
TexteAB: "" + (Name[A] + (Name[B])) + " = " + distanceAB + " cm"
TexteBD: "" + (Name[B] + (Name[C])) + " = " + distanceBD + " cm"
TexteAG: "" + (Name[A] + (Name[F])) + " = " + distanceAG + " cm"
distanceDC = Distance(D, C)
TexteDC: "" + (Name[D] + (Name[C])) + " = " + distanceDC + "cm"