Answer:
x³ + 3x² + 3x + 2
Explanation:
Given
(x + 2)(x² + x + 1)
Each term in the second factor is multiplied by each term in the first factor, that is
x(x² + x + 1) + 2(x² + x + 1) ← distribute both parenthesis
= x³ + x² + x + 2x² + 2x + 2 ← collect like terms
= x³ + 3x² + 3x + 2