Answer
$ab^2(a+b)(a^2-ab+b^2)$
Work Step by Step
The greatest common monomial factor is $ab^2$.
Factor out the greatest common monomial factor to obtain:
$=ab^2(a^3+b^3)$
Factor the sum of two cubes using the formula $a^3+b^3=(a+b)(a^2-ab+b^2)$ to obtain:
$=ab^2(a+b)(a^2-ab+b^2)$