Answer :

x²(x+3) = 25(x+3)
divide both sides by (x+3)
x² = 25
subtract 25 from both sides
x² - 25
(x+5)(x-5)
x = { -5, 5 }
x³ + 3x² = 25x + 75
x³ + 3x² - 25x - 75 = 0

x²(x + 3) - 25(x + 3) = 0
(x² - 25) * (x + 3) = 0

(x² - 25) = 0     (x + 3) = 0
x² = 25            x = -3
x = ±5

Hope this helps! :)