Given
Substituting the matrix into the characteristic equation:
The eigenvalues of B are -1 and 8.
Check this answer with Python.