(i) g(x) = x + 1, x = - 1 to be substituted in
p(x)=2x3+x2−2x−1⇒p(−1)=2(−1)3+(−1)2−2(−1)−1=−2+1+2−1=0
So, g(x) is a factor of p(x).
(ii) g(x) = x + 2, substitute x = - 2 in p(x).
p(x)=x3+3x2+3x+1⇒p(−2)=(−2)3+3(−2)2+3(−2)+1=−8+12−6+1=−1
So, g(x) is not a factor of p(x) as p(-2)≠0
(iii) g(x) = x - 3, substitute x = 3 in p(x).
p(x)=x3−4x2+x+6⇒p(3)=(3)3−4(3)2+3+6=27−36+3+6=0
Therefore, g(x) is a factor of x3−4x2+x+6.