You can put this solution on YOUR website! One way to solve is via synthetic division. First we divide by x-2. Set this equal to zero and solve for x to get x = 2.
--------
2 // . . . . 1 . . . . k . . . .-k . . . . . 1
. . . . . . . . . . . . .2 . . . . 2k+4 . . . 2k+8
. . . . . . . 1 . . . . k+2 . . .k+4 . . . .2k+9
2k+9 = 0
2k = -9
k = -9/2
So, the polynomial is
x^3 + (-9/2)x^2 + (9/2)x + 1