\(2x^4-8x^3-7x^3+28x^2+7x^2-28x-2x+8\\ =2x^3\left(x-4\right)-7x^2\left(x-4\right)+7x\left(x-4\right)-2\left(x-4\right)\\ =\left(x-4\right)\left(2x^3-7x^2+7x-2\right)\\ =\left(x-4\right)\left(2x^3-4x^2-3x^2+6x+x-2\right)\\ =\left(x-4\right)\left[2x^2\left(x-2\right)-3x\left(x-2\right)+\left(x-2\right)\right]\\ =\left(x-4\right)\left(x-2\right)\left(2x^2-2x-x+1\right)\\ =\left(x-4\right)\left(x-2\right)\left(2x-1\right)\left(x-1\right)\)