Answer
$x^3+1$
Work Step by Step
Using the Distributive Property, the product of the given expression, $
(x+1)(x^2-x+1)
,$ is
\begin{array}{l}\require{cancel}
x(x^2)+x(-x)+x(1)+1(x^2)+1(-x)+1(1)
\\\\=
x^3-x^2+x+x^2-x+1
\\\\=
x^3+(-x^2+x^2)+(x-x)+1
\\\\=
x^3+1
.\end{array}