A = (3, 6)
B = (4, 5)
C = (3, 5)
poly1, c, a, b = Polygon(A, B, C)
distanceCB = Distance(C, B)
TextCB: "a= " + (LaTeX[distanceCB]) + ""
distanceAB = Distance(A, B)
TextAB: "c= " + (LaTeX[distanceAB]) + ""
distanceAC = Distance(A, C)
TextAC: "b= " + (LaTeX[distanceAC]) + ""
poly2, d, e, f, g, D, E = Polygon(C, A, 4)
poly3, h, i, j, k, F, G = Polygon(A, B, 4)
poly4, l, m, n, p, H, I = Polygon(B, C, 4)
Pointpoly2_1 = PointIn(poly2)
Pointpoly2_2 = PointIn(poly2)
Pointpoly2 = PointIn(poly2)
Pointpoly4 = PointIn(poly4)
Textpoly2: "Area= " + poly2 + ""
Pointpoly3 = PointIn(poly3)
Textpoly3: "Area = " + poly3 + ""
Textpoly4: "Area = " + poly4 + ""