Factoriser l'expression
[tex]x ^{3} + 1 + 2(x ^{2} - 1) - (x + 1)[/tex]