# How do you factor by grouping x^3 + 3x^2 + 6x + 18?

Mar 3, 2018

$\textcolor{red}{= \left({x}^{2} + 6\right) \left(x + 3\right)}$

#### Explanation:

[Grouping the first 2 terms together and the 2md 2 terms together.]

${x}^{3} + 3 {x}^{2} + 6 x + 18$

$= \left({x}^{3} + 3 {x}^{2}\right) + \left(6 x + 18\right)$ [Common factor]

$= {x}^{2} \left(x + 3\right) + 6 \left(x + 3\right)$ {Taking the common bracket]

$\textcolor{red}{= \left({x}^{2} + 6\right) \left(x + 3\right)}$

~Hope this helps! :)