If those are your roots, in factorization form they are [x-(-1+i)][x-(-1-i)], which simplifies to (x+1-i)(x+1+i). FOIL that out like you would anything else to get the mess that looks like this:

. Putting things in order makes it easier to deal with.

. Canceling out what we can, gives us

.

. That simplifies to

, which of course gives us

and

is the final result. Your missing term there is 2x