$\Large %v$

$\Large %v$

c = 26 (slider from 12 to 26, step 2)
A0: (0, 0)
A0': A0 + (1, 0)
A = Point(Segment[A0, A0'], 0)
l1 = Sequence((k, y(A)), k, x(A) + ceil(c / 4), x(A) + c / 2 - 1)
B = Point(l1)
C: B + (0, c / 2 - abs(x(A) - x(B)))
D: A + (0, c / 2 - abs(x(A) - x(B)))
q1, a, b, c_1, d = Polygon(A, B, C, D)
E = (17.673992054316653, 1.251692223640261)
F = (30.01508717754468, 1.251692223640261)