In this case, express ax2 + bx + c as sum or difference of two square terms to get the integrand in one of the standard forms of Type 1.
To evaluate the above integrals, express the numerator px+ q into two parts with suitable constants. One in terms of differential coefficient of denominator and the other without x term. Then the integrals will be separated into two standard form of known integrals and can easily be evaluated.