The determinant is multiplicative, not additive.
In this case, we must bring up multiplicativity somewhere, clearly. Note that $AB - BA = A$. To bring multiplicativity here, note that $AB = BA + A $, so that $\det(AB) = \det((B+I)A)$. Then, by multiplicativity, $\det A\det B = \det A \det(B+I)$.
Similarly, we have $AB -BA = A$ so $AB - A = BA$, so $\det (A(B-I)) = \det A \det B$. Consequently, we get that $\det A \det (B+I) = \det A \det(B-I)$. Why can we conclude that $\det A \
eq 0$? (Look at hypotheses). Now conclude.