Let $(x - 1)^3$ divide $(P(x) + 1)$ and $(x + 1)^3$ divide$ (P(x) - 1)$. Find the polynomial $P(x)$ of degree $5$.
I tried utilising the divisibility laws but to no result. I then tried bujte force to find two polynomials of degree 2 that satisfy both the equations. But still got no result. Please help me.