variations

A = (0.04848484848484841, 2.0121212121212126)
B = (3.048484848484849, 2.0121212121212126)
poly1, f, g, h, i, C, D = Polygon(A, B, 4)
E = Midpoint(D, B)
a = 0 (slider from 0 to 360, step 1)
F: (6, 3.5)
F' = Rotate(F, a°, E)
F'' = Rotate(F', 90°, E)
c = CircleSector(E, F', F'')
j = Segment(F'', E)
k = Segment(E, F')
G = Intersect(j, poly1)
H = Intersect(k, poly1)
A' = Mirror(A, E)
B' = Mirror(B, E)
q1, g_1, e, h_1, a' = Polygon(G, E, H, A')
q2, e_1, h_2, b', g_2 = Polygon(E, H, B', G)
q3, l, m, n, p = Polygon(E, H, A, G)
q6, e_5, h_6, b, g_6 = Polygon(E, H, B, G)
q7, e_6, h_7, b_1, g_7 = Polygon(E, H, B, G)
α = Angle(G, E, H)
d: poly1 / 4
texte1: "Aire \;de\; la\; partie\; jaune \; =" + (LaTeX[d]) + "\;cm²"
o = false