This is LaTeX code:
[latex]
a(\sqrt 2 - 1) + b(2-\sqrt 2)
[/latex]