This is LaTeX code:

[latex]
=\frac{1\cdot1\cdot3+(-\frac{1}{2}\cdot9}{1^2}=3-\frac{9}{2}=-\frac{3}{2}
[/latex]