This is LaTeX code:
[latex]
2 \cdot (-1) + (-1) \cdot (-1) + 2 \cdot (-1) = a \rightarrow a = -3 \\ 2 \cdot (-1) \cdot (-1) = -b \rightarrow b = -2
[/latex]