Answer :
1) Factor out common terms in the first two terms, then in the last two terms
{x}^{3}(x+2)-2(x+2)
2) Factor out the common term x+2
(x+2)({x}^{3}-2)
Done!
{x}^{3}(x+2)-2(x+2)
2) Factor out the common term x+2
(x+2)({x}^{3}-2)
Done!