I'm not sure where I'm going wrong with this question but i keep coming to a hexic equation rather than a quartic equation.
the three planes: $$\pi_1: ax+2y+z=3$$ $$\pi_2: x+ay+z=4$$ $$\pi_3: x+y+az=5$$
Given the angle between planes $\pi_1$ and $\pi_2$ is equal to the angle between $\pi_2$ and $\pi_3$, show that $a$ must statisfy the quartic equation $$5a^4+2a^3-2a^2-8a-3=0$$