This is LaTeX code:

[latex]
=\lim_{x\to0}\frac{\cos3x\cdot\frac{e^{3x^2}-1}{3x^2}\cdot3+\frac{\cos3x-1}{(3x)^2}\cdot9}{(\frac{\sin x}{x})^2}
[/latex]