Answer:
3x³ + 5x² + 4x + 4
Explanation:
Given
(x + 2)(x² + x + 2) + 2(x³ + x²)
To expand the product, each term in the second factor is multiplied by each term in the first factor, that is
x(x² + x + 2) + 2(x² + x + 2) + 2(x³ + x²) ← distribute the parenthesis
= x³ + x² + 2x + 2x² + 2x + 4 + 2x³ + 2x² ← collect like terms
= 3x³ + 5x² + 4x + 4