A = (-0.52, 5.42)
B = (-0.54, -4.94)
poly1, a, b, c, d, C, D = Polygon(A, B, 4)
E = Midpoint(A, D)
F = Midpoint(B, C)
G = Midpoint(E, F)
H = Midpoint(G, E)
I = Midpoint(F, G)
e = Circle(H, E)
f = Circle(I, G)
J = Midpoint(A, B)
K = Midpoint(D, C)
g = Segment(J, I)
h = Line(J, E)
i = Line(H, h)
L = Intersect(i, g)
j = Segment(J, G)
k = OrthogonalLine(L, j)
M = Intersect(k, j)
p = Circle(M, J)
M' = Mirror(M, G)
q = Circle(M', K)