The correct option is A (x+1) and (x2+x+1)
Let p(x)=(x3+2x2+2x+1) be the given polynomial.
Substitute (x=−1):
p(−1)=(−1)3+2×(−1)2+2×(−1)+1
p(−1)=0
∴x=−1 is a root of p(x)
⇒(x+1) is a factor of p(x) by factor theorem.
To find the other factor, divide p(x) by (x+1),
x+1x2+x+1√x3+2x2+2x+1 x3+x2 (−) (−) ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ x2+2x x2+x (−) (−) ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ x+1 x+1 (−) (−) ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ 0
∴ The two factors of p(x) are (x+1) and (x2+x+1).