\overrightarrow{\text{u}}

A = (-2, 3)
B = Point(yAxis)
C = (2, 4)
D = (2, 2)
E = (1, -1)
poligon1, a, b, c, d, e = Polygon(A, B, C, D, E)
P = (6, 2)
Q = (9, 6)
u = Vector(P, Q)
A' = Translate(A, u)
B' = Translate(B, u)
C' = Translate(C, u)
D' = Translate(D, u)
E' = Translate(E, u)
poligon1', a', b', c', d', e' = Polygon(A', B', C', D', E')
F = Midpoint(P, Q)