This is LaTeX code:
[latex]
A^2+3A+2I=(A+I)(A+2I)=0
[/latex]