First, factor out a -1 from the expression:
−x3−125=−(x3+125) We recognize that x3+125 is a sum of cubes, where x3=a3 and 125=53. Therefore, a=x and b=5. Recall the sum of cubes formula:
a3+b3=(a+b)(a2−ab+b2) Applying the sum of cubes formula to x3+53, we get: x3+53=(x+5)(x2−5x+25) Therefore,
−(x3+125)=−(x+5)(x2−5x+25)=(−x−5)(x2−5x+25) or −(x+5)(x2−5x+25)