\(\left(x-1\right)^3-\left(x+1\right)^3+6\left(x+1\right)\left(x-1\right)\\ =\left(x-1-x-1\right)\left[\left(x-1\right)^2+\left(x+1\right)\left(x-1\right)+\left(x+1\right)^2\right]+6\left(x^2-1\right)\\ =-2\left[x^2-2x+1+x^2-1+x^2+2x+1\right]+6\left(x^2-1\right)\\ =-2\left(3x^2+1\right)+6x^2-6\\ =-6x^2-2+6x^2-6\\ =-8\\ \RightarrowĐpcm\)