(a-1)/(a+2)*(a^2-4)/(a^2-2a+1)÷1/(a^2-1)
=(a-1)/(a+2)*(a+2)(a-2)/(a-1)^2*(a+1)(a-1)
=(a+1)(a-2)
=a^2-a-2
=2010-2
=2008