\(2x\left(x-4\right)^2-\left(x+5\right)\left(x-2\right)\left(x+2\right)+2\left(x+5\right)^2-\left(x-1\right)^2\)
\(=2x\left(x^2-8x+16\right)-\left(x+5\right)\left(x^2-4\right)+2\left(x^2+10x+25\right)-\left(x^2-2x+1\right)\)
\(=2x^3-16x^2+32x-x^3+4x-5x^2+20+2\left(x^2+10x+25\right)-\left(x-1\right)^2\)
\(=x^3-21x^2+36x+20+2x^2+20x+50-x^2+2x-1\)
\(=x^3-20x^2+58x+69\)