This is LaTeX code:
[latex]
\frac{A}{(x+2)^2}+\frac{B}{x+2}+\frac{C}{x^2+2}
[/latex]