Formula use:
a^3+b^3=\left(a+b\right)\left(a^2-ab+b^2\right)
Explanation
Given expression is: 1+125x^3
Factorize
1+125x^3
\rightarrow\left(1\right)^3+\left(5x\right)^3
\rightarrow\left(1+5x\right)\{\left(1\right)^2-1.5x+\left(5x\right)^2\}
\therefore\left(1+5x\right)\left(1-5x+25x^2\right)
Ans: \left(1+5x\right)\left(1-5x+25x^2\right)