= (x4 + 2x2 + 1) + (2x4 + x2 + 2) - (x2 + x+1)2
= [(x2 + 1)2 - (x2 + x+1)2 ] + (2x4 + x2 + 2)
= (x2 + 1 + x2 + x + 1). (x2 + 1 - x2 - x- 1) + (2x4 + x2 + 2)
= (2x2 + x + 2) (-x) + (2x4 + x2 + 2) = -2x3 - x2 - 2x + 2x4 + x2 + 2 = -2x3 + 2x4 - 2x + 2
= -2x3. (1 - x) + 2.(1 - x) = (1- x). (-2x3 + 2) = 2.(1 - x)(1- x3) = 2. (1- x). (1- x) .(1 + x + x2) = 2.(1-x)2. (1 + x + x2)