(a-b)(a^2+ab+b^2)

you should recognize the formula for the difference of cubes

so (a-b)(a^2+ab+b^2) = a^3 - b^3

of course you can always expand the given expression to get the same result.