原式=(x-1)(2x+1-x+1)-1999
=(x-1)(x+2)-1999
=[(x)-1][(x+1)+1]-1999
=x(x+1)-(x+1)+x-1-1999
=2013-2001
=12