I want to apply the Chinese remainder theorem to the polynomial equation $ x^{3}+2x+1 \equiv 0 \bmod 15 $ which I have split into two equations $x^{3}+2x+1 \equiv 0 \bmod 3 $ and $x^{3}+2x+1 \equiv 0 \bmod 5$.
Looking at the Chinese remainder theorem the congruence equations are linear but I have seen examples which have applied the theorem to quadratic equations so is it possible to apply it this equation?
It is perfectly fine to apply the theorem in this situation, any equation mod $15$ is equivalent to the same equation holding simultaneously mod $3$ and mod $5$.
Hint to continue: use Little Fermat's theorem.