The distributive property says that the following is true:
![a(b + c) = ab + ac](https://img.qammunity.org/2019/formulas/mathematics/middle-school/z54ogy2e2x6mf29ieg2thm01cxkip8lvrw.png)
In our problem, we will consider the term outside (or
in the first equation) to be
and we will consider the expression inside the parentheses to be
. To use the distributive property, we are going to apply the outside term to all terms within the second expression. This is represented as:
![(x + 3)(x^2) - (x + 3)(2x) + (x + 3)(4)](https://img.qammunity.org/2019/formulas/mathematics/college/6ki2g262pwdlq1ady8hnntiskyqkgszsi5.png)
We can now use the distributive property again to simplify the new expression:
![(x + 3)(x^2 - 2x + 4) = x^3 + 3x^2 - 2x^2 - 6x + 4x + 12 = x^3 + x^2 - 2x + 12](https://img.qammunity.org/2019/formulas/mathematics/college/zeoh6te4jk7bj8zwr6hv9lmkxby2sls1tb.png)
The answer is x³ + x² - 2x + 12.