A = (-2.58, 1.72)
B = (2.44, 1.58)
C = (1.32, 5.22)
polígono1, c, a, b = Polygon(A, B, C)
d = OrthogonalLine(C, c)
P = Intersect(d, c)
P' = Mirror(P, b)
P'' = Mirror(P', a)
e = Segment(P'', P)
R = Intersect(a, e)
f = Segment(P', R)
Q = Intersect(b, f)
g = Segment(P, Q)
h = Segment(C, P)
polígono2, r, p, q = Polygon(P, Q, R)
P''_1 = Mirror(P', a)
R' = Mirror(R, a)
f' = Segment(P''_1, R')
i = Segment(P, P'')
j = Segment(R, R')