What is the remainder when P(x)=3x3+x2−2x+4P(x) = 3x^3 + x^2 - 2x + 4P(x)=3x3+x2−2x+4 is divided by (x+1)(x + 1)(x+1)?
4
6
8
10