שלב א:

שלב ב:

סכום זוויות במשולש

אתחול

C = (2, 3)
B = (-1, -1)
A = (6, -1)
poly1, c, a, b = Polygon(C, B, A)
α_1, β_1, γ = Angle(poly1)
α = 0 rad (slider from 0 to 180*°, step 0.017453292519943295)
D = Midpoint(b)
A' = Rotate(C, -α, D)
B' = Rotate(B, -α, D)
C' = Rotate(A, -α, D)
poly1', c', a', b' = Polygon(A', B', C')
ε, ζ, η = Angle(poly1')
β = 0 rad (slider from 0 to 180*°, step 0.017453292519943295)
E = Midpoint(c')
A'' = Rotate(A', β, E)
B'' = Rotate(B', β, E)
C'' = Rotate(C', β, E)
poly1'', c'', a'', b'' = Polygon(A'', B'', C'')
ι, κ, λ = Angle(poly1'')
d = Line(B, A)