This is LaTeX code:

[latex]
f(x)=\frac{x^2-2x+3}{x^2+2x-6}
[/latex]