# How do you factor 125-27^3?

${5}^{3} - {27}^{3} = \left(5 - 27\right) \left({5}^{2} + 5 \cdot 27 + {27}^{2}\right)$
Use the formula for difference of two cubes $\left({x}^{3} - {y}^{3}\right) = \left(x - y\right) \left({x}^{2} + x y + {y}^{2}\right)$ to factor. But first write it as a difference of two cubes.