f(x) = cos((2 * x)) - sin((2 * x)) + 1
g(x) = sin((2 * x)) / cos(x)^(2) - tan(x)
gg = Simplify(g)
ff = Simplify(f)
text1 = LaTeX(f, true, true)
text2 = LaTeX(ff, true, true)
text3 = LaTeX(g, true, true)
text4 = LaTeX(gg, true, true)