A = (1, 2)
B = (-2, -1)
C = (5, -1)
đa giác1, c, a, b = Polygon(A, B, C)
D = (8.02, -5)
E = (16, -2)
u = Vector(D, E)
A' = Translate(A, u)
B' = Translate(B, u)
C' = Translate(C, u)
đa giác1', c', a', b' = Polygon(A', B', C')
d = Segment(A, A')
e = Segment(B', B)
f = Segment(C', C)