$$\begin{vmatrix} a-E&-b&-b&-b&-b\\ -b&a-E&-b&-b&-b\\ -b&-b&a-E&-b&-b\\ -b&-b&-b&a-E&-b\\ -b&-b&-b&-b&a-E \end{vmatrix}=0$$
I'm asked to show by solving that the two solutions for $E$ are $E=a+b$ and $E=a-4b$. If I add all the rows using row operations I get every term as $a-E-4b$ and so for the matrix to have zero determinant $a-E-4b=0$ which gives we the second solution on rearrangement. How can I obtain the first solution (and indeed the second if my method is not sufficient)?