C = (8, 2)
D = (-4, 2)
A = (-4, 0)
B = (8, 0)
poly1, a, b, c, d = Polygon(A, B, C, D)
β = 1.14 (slider from 0 to 6.283, step 0.01)
E = (2, 1)
A' = Rotate(A, β, E)
B' = Rotate(B, β, E)
C' = Rotate(C, β, E)
D' = Rotate(D, β, E)
poly1', a', b', c', d' = Polygon(A', B', C', D')
F = (-4, 1)
G = (8, 1)
H = (8, 4)
I = (-4, 4)
poly2, f, g, h, i = Polygon(F, G, H, I)