\(x^4-4\left(x^2+5\right)-25\\ =x^4-25-4\left(x^2+5\right)\\ =\left(x^2+5\right)\left(x^2-5\right)-4\left(x^2+5\right)\\ =\left(x^2+5\right)\left(x^2-5-4\right)\\ =\left(x^2+5\right)\left(x^2-9\right)\\ =\left(x^2+5\right)\left(x+3\right)\left(x-3\right)\)
x4 - 4(x2 + 5) - 25
= x4 - 4x2 - 20 - 25
= x4 - 4x2 - 45
= x4 - 9x2 + 5x2 - 45
= x2(x2 - 9) + 5(x2 - 9)
= (x2 - 9)(x2 + 5)
= (x - 3)(x + 3)(x2 + 5)