\(1,=\left(x^2-2x+6x-12+2\right):\left(x-2\right)\\ =\left[x\left(x-2\right)+6\left(x-2\right)+2\right]:\left(x-2\right)\\ =x+6\left(\text{dư }2\right)\\ 2,=\left(x^3-x^2+5x^2-5x+6x-6\right):\left(x-1\right)\\ =\left[x^2\left(x-1\right)+5x\left(x-1\right)+6\left(x-1\right)\right]:\left(x-1\right)\\ =x^2+5x+6\)