Find a polynomial $f(x)$ of degree $5$ such that both of these properties hold: $\bullet$ $f(x)$ is divisible by $x^3$. $\bullet$ $f(x)+2$ is divisible by $(x+1)^3$.
A guest answered this question the last time I posted it, but it was wrong so somebody other than a guest answer please.
Everyone makes mistakes sometimes and it's OK. We all learn from it :)
However, I found the link to your question (asked by someone else) with a pretty good explaination:
Hope this helped!