G = (0, 4)
d = OrthogonalLine(G, yAxis)
E = (3, 0)
c = OrthogonalLine(E, xAxis)
I = Intersect(c, d)
B = (0, 5)
b = OrthogonalLine(B, yAxis)
A = (5, 0)
a = OrthogonalLine(A, xAxis)
H = Intersect(a, d)
C = Intersect(b, a)
f = Segment(C, I)
m = Line((0, 0), f)
Q = Intersect(m, a)
s' = Segment(H, Q)
F = Intersect(b, c)
e = Segment(A, H)
D = Point(s')
g = Line(D, f)
J = Intersect(c, g)
K = Intersect(g, yAxis)
poli1, f_1, c_1, d_1, j = Polygon(F, C, D, J)
L = (2, 0)
h = OrthogonalLine(L, xAxis)
M = Intersect(h, g)
N = Intersect(b, h)
P = Intersect(g, h)
S = Segment(K, M)
O = Point(S)
u = Vector(K, O)
poli2, g_1, k, j_1, i = Polygon(G, K, J, I)
G' = Translate(G, u)
K' = Translate(K, u)
J' = Translate(J, u)
I' = Translate(I, u)
poli2', g', k', j', i' = Polygon(G', K', J', I')
l = Segment(G, H)
s = Segment(D, M)
Q' = Point(s)
v = Vector(D, Q')
F' = Translate(F, v)
C' = Translate(C, v)
D' = Translate(D, v)
J'_1 = Translate(J, v)
poli1', f', c', d', j'_1 = Polygon(F', C', D', J'_1)
n = Segment(B, C)
p = Segment(C, A)
q = Segment(N, L)
r = Segment(E, F)
t = Segment((0, 0), A)
a_1 = Segment((0, 0), B)
b_1 = Segment(D, K)