p(x)=x3+3x2+3x+1
(i) When p(x) is divided by x + 1, the remainder is p(-1),
p(−1)=(−1)3+3(−1)2+3(−1)+1=−1+3−3+1=0
Remainder = 0
(ii) When p(x) is divided by x−12, the remainder is p(12).p(12)=(12)3+3(14)+3(12)+1
=18+34+32+1=1+6+12+88
∴ Remainder =278=338