1. \text{ Načrtneme zadanie. 

A

D

D'

A'

S

2. \text{ Narysujeme skutočnú veľkosť }ADD'A '.

B'

3. \;  B': \left( \left| A'B' \right| =a    \right)   \;  ∧\left( B' ∈ k  \right). 

A = (-1, -1)
B = (1, -1)
C = Point(Circle[B, Distance[A, B], Segment[A, B]])
a, D, A', B', C', D', stenaABCD, stenaADHE, stenaABFE, stenaBCGF, stenaCDHG, stenaEFGH, hranaAD, hranaAB, hranaBC, hranaCD, hranaAE, hranaDH, hranaEH, hranaEF, hranaBF, hranaFG, hranaCG, hranaGH = Cube(A, B, C)
l = Segment(D', A)
m = Segment(A', D)
S = Intersect(l, m)
n = Segment(S, B')
I = Intersect(xAxis, yAxis)
J = Point(xAxis)
mnohouholník1, f, g, h, i, K, L = Polygon(I, J, 4)
j = Segment(L, J)
k = Segment(K, I)
E = Intersect(j, k)
p = OrthogonalLine(L, j)
c = Circle(L, K)
F = Intersect(c, p, 2)
t1, e, f_1, l_1 = Polygon(F, L, E)
q = Segment(E, F)
vzdialenosťEF = Distance(E, F)
Midpoint(E, F)
text5 = SurdText(Distance[E, F])
text4: "4. \text{ Skutočná vzdialenosť }\left|B'S  \right|=a" + (LaTeX[text5]) + " ."