\(x^4+x^3-20x^2-47x-15\)
\(=x^3\left(x-5\right)+6x^2\left(x-5\right)+10x\left(x-5\right)+3\left(x-5\right)\)
\(=\left(x-5\right)\left(x^3+6x^2+10x+3\right)\)
\(=\left(x-5\right)\left[x^2\left(x+3\right)+3x\left(x+3\right)+\left(x+3\right)\right]\)
\(=\left(x-5\right)\left(x+3\right)\left(x^2+3x+1\right)\)
\(=x^4-5x^3+6x^3-30x^2+10x^2-50x+3x-15\\ =\left(x-5\right)\left(x^3+6x^2+10x+3\right)\\ =\left(x-5\right)\left(x^3+3x^2+3x^2+9x+x+3\right)\\ =\left(x-5\right)\left(x+3\right)\left(x^2+3x+1\right)\)