Question 7Depending on the real parameter $a$, solve the equation $$ (a - 1) (1 + x + x^2)^2 = (a + 1) (1 + x^2 + x^4) $$