Elena's Move

B = (2, 6)
C = (9, 6)
D = Point(xAxis)
t = 0 (slider from 0 to 14, step 0.1)
A = Point(xAxis)
poly1, b, a, d, c = Polygon(B, A, D, C)
E = (0, 0)
poly2, a_1, b_1, e = Polygon(B, E, A)
f = Segment((2, 0), (2, t))
g = Segment((t - 5, 0), (t - 5, 6))
u = Vector((2, 0), (t - 5, 0))
B' = Translate(B, u)
E' = Translate(E, u)
A' = Translate(A, u)
poly2', a', b', e' = Polygon(B', E', A')
h = Segment(B, A)