$\mathcal a:$

$\mathcal b:$

$\mathcal c:$

$\mathcal d:$

$\mathcal p:$

$\mathcal q:$

O = Intersect(xAxis, yAxis)
E_1 = Point(xAxis)
E_2 = Point(yAxis)
u = Vector(O, E_1)
v = Vector(O, E_2)
a: 1
b: 0
c: 0
d: 1
p: 2
q: 1
ta = Textfield(a)
tb = Textfield(b)
tc = Textfield(c)
td = Textfield(d)
tp = Textfield(p)
tq = Textfield(q)
O': (p, q)
E'_1: O' + (a, b)
E'_2: O' + (c, d)
e'_1 = Vector(O', E'_1)
e'_2 = Vector(O', E'_2)
x'_{1}(x, y) = (a * x) + (c * y) + p
y'_{1}(x, y) = (b * x) + (d * y) + q
e1 = If(x(e'_2) ≥ 0, "+", " ")
e2 = If(x(O') ≥ 0, "+", " ")
f1 = If(y(e'_2) ≥ 0, "+", " ")
f2 = If(y(O') ≥ 0, "+", " ")
a12 = SurdText(b)
a21 = SurdText(c)
a22 = SurdText(d)
o1 = SurdText(p)
o2 = SurdText(q)
a11 = SurdText(a)
text1: "\text{Transformačné rovnice } \\\\
x':=" + (LaTeX[a11]) + " \; x" + (LaTeX[e1]) + "" + (LaTeX[a21]) + " \; y" + (LaTeX[e2]) + "" + (LaTeX[o1]) + " \\\\
y':=" + (LaTeX[a12]) + " \; x" + (LaTeX[f1]) + "" + (LaTeX[a22]) + " \; y" + (LaTeX[f2]) + "" + (LaTeX[o2]) + ""