integrate 2nd order polynomial case