Answer
$(x+3)(x^2+2)$
Work Step by Step
Grouping the first and second terms and the third and fourth terms, the given expression is equivalent to
\begin{array}{l}\require{cancel}
x^3+3x^2+2x+6
\\\\=
(x^3+3x^2)+(2x+6)
.\end{array}
Factoring the $GCF$ in each group results to
\begin{array}{l}\require{cancel}
x^2(x+3)+2(x+3)
.\end{array}
Factoring the $GCF=
(x+3)
$ of the entire expression above results to
\begin{array}{l}\require{cancel}
(x+3)(x^2+2)
.\end{array}