Use the Factor Theorem: Is (x+1)(x + 1)(x+1) a factor of P(x)=x3+2x2−x−2P(x) = x^3 + 2x^2 - x - 2P(x)=x3+2x2−x−2?
Yes, because P(−1)=0P(-1) = 0P(−1)=0
No, because P(−1)≠0P(-1) \neq 0P(−1)=0
Yes, because P(1)=0P(1) = 0P(1)=0
Cannot be determined