B = (2, 1)
A = (4, 4)
C = (8.5, 1)
polígono1, c, b, a = Polygon(B, A, C)
α = Angle(B, A, C)
β = Angle(C, B, A)
A' = (11.8, 1)
E = (15, 1)
B' = Rotate(E, α, A')
D' = Rotate(A', β, B')
d = Line(B', D')
e = Line(A', E)
C' = Intersect(d, e)
polígono2, e', f, d_1 = Polygon(C', A', B')
z: c / f
w: b / e'
t: a / d_1
texto1: "\frac{\overline{AB}}{\overline{A'B'}}=\frac{" + (LaTeX[c]) + "}{" + (LaTeX[f]) + "}=\textcolor{red}{" + (LaTeX[z]) + "}"
texto2: "\frac{\overline{AC}}{\overline{A'C'}}=\frac{" + (LaTeX[b]) + "}{" + (LaTeX[e']) + "}=\textcolor{red}{" + (LaTeX[w]) + "}"
texto3: "\frac{\overline{BC}}{\overline{B'C'}}=\frac{" + (LaTeX[a]) + "}{" + (LaTeX[d_1]) + "}=\textcolor{red}{" + (LaTeX[t]) + "}"