Find a polynomial \(f(x)\) of degree \(5\) such that both of these properties hold:
\(f(x)\) is divisible by \(x^3\). \(f(x)+2\) is divisible by \((x+1)^3\).
f(x) = 3x^5 - 9x^4 + 6x^3.