a: \(25x^2\left(x-3y\right)-15\left(3y-x\right)\)
\(=25x^2\left(x-3y\right)+15\left(x-3y\right)\)
\(=\left(x-3y\right)\left(25x^2+15\right)\)
\(=5\left(5x^2+3\right)\left(x-3y\right)\)
b: \(x^4-5x^2+4\)
\(=x^4-x^2-4x^2+4\)
\(=\left(x^4-x^2\right)-\left(4x^2-4\right)\)
\(=x^2\left(x^2-1\right)-4\left(x^2-1\right)\)
\(=\left(x^2-1\right)\left(x^2-4\right)\)
\(=\left(x-1\right)\left(x+1\right)\left(x-2\right)\left(x+2\right)\)