$B$

$C$

$A$

$B'$

$A'$

$C'$

a = 0.5 (slider from -5 to 5, step 0.01)
B = Point(xAxis)
C = Point(yAxis)
p_a = Line(C, B)
A = Intersect(xAxis, yAxis)
p_b = Line(A, C)
B' = Point(p_b)
d_{3} = AffineRatio(C, A, B')
d_b: 1 - 1 / d_{3}
p_c = Line(A, B)
A_1: (a, 0)
f = OrthogonalLine(A_1, p_c)
D = Intersect(f, p_a)
A': D
d_{2} = AffineRatio(B, C, A')
d_a: 1 - 1 / d_{2}
i = Line(B', A')
C' = Intersect(i, p_c)
d_{1} = AffineRatio(A, B, C')
d_c: 1 - 1 / d_{1}
d: ((d_a * d_b) * d_c)
text2: "\text{Priamka }\overleftrightarrow{BC}:" + (LaTeX[p_a]) + ""
text4 = SurdText(D)
text5: "(ABC')(BCA')(CAB')=" + (LaTeX[d_c]) + "×" + (LaTeX[d_a]) + "×" + (LaTeX[d_b]) + "=" + (LaTeX[d]) + ""