This is LaTeX code:

[latex]
f\left( x \right) = x^3 + 2x^2 - x + 1
[/latex]