Let $A$ and $B$ be matrices such that $B^2+ AB + 2I = 0$, where I denotes the identity matrix. Which of the following matrices must be nonsingular?
(A) $A + 2I$
(B) $B$
(C) $B + 2I$
(D) $A$
I tried using a few tricks assuming each option to be nonsingular and then coming to the given form but to no avail. Any hint is appreciated.
Since $$\det (B+A)\cdot \det (B) = \det (B^2+AB) = \det (-2I) =-2$$ we see that $\det (B)\ne 0$ so $B$ is invertibile.