Note that 125 = 5³. Make use of the factorization of the sum of cubes:
a³ +b³ = (a+b)(a² -ab +b²) . . . . . . a formula worth keeping handy
Then ...
_____
When x=-5, this evaluates to
... (-5)²-5(-5) +25 = 75
5.7m questions
7.4m answers