令x=2010-b
则2009-b=x-1
所以x(x-1)=2010
原式=x²+(x-1)²
=x²-2x(x-1)+(x-1)²+2x(x-1)
=[x-(x-1)]²+2×2010
=1²+4020
=4021