\(A=x^6-2x^4-2x^4+4x^2+2x^3-4x\\ A=x^3\left(x^3-2x\right)-2x\left(x^3-2x\right)+2\left(x^3-2x\right)\\ A=\left(x^3-2x\right)\left(x^3-2x+2\right)=3\left(3+2\right)=3\cdot5=15\\ B=x^5-2x^3+3x^3-6x-3x^2\\ =x^2\left(x^3-2x\right)+3\left(x^3-2x\right)-3x^2\\ =\left(x^3-2x\right)\left(x^2+3\right)-3x^2=3\left(x^2+3\right)-3x^2\\ =3x^2-3x^2+9=9\)