integrate 2x+1 from -1/2 to 2