Solve this following

Question:

If $A=\left[\begin{array}{ll}3 & 2 \\ 1 & 1\end{array}\right]$, find the value of a and b such that $A^{2}+a A+b l=0$

Solution: