f(x) = x^3 -125
f(5) = 0, so x-5 is a factor.
Use long division to get the quadratic factor. As far as real factors are concerned, you are done.
If not, use the quadratic formula to get the other 2 complex roots.
The binomial can be factored using the difference of cubes formula, because both terms are perfect cubes. The difference of cubes formula is a^(3)-b^(3)=(a-b)(a^(2)+ab+b^(2)).
(x-5)(x^(2)+5x+25)