The Total solution for NCERT class 6-12
= (x² – x + 1)(x + 1) –(x + 1) (x – 1)= (x + 1)[x² – x + 1 – x + 1]= (x + 1)(x² – 2x + 2)= x³ – 2x² + 2x + x² – 2x + 2= x³ – x² + 2