I was given the formula $\displaystyle a^3+b^3=&(a+b)(a^2-ab+b^2)$ For cubes.

But this problem is kind of weird for me since I don't know if I should find the cube of $\displaystyle x^6$

Problem: $\displaystyle x^6+125$

Attempt:$\displaystyle (x+5)(x^2+5x+25)$ Distributed:$\displaystyle 5x^3+25x+125$