My desk of Integrals has the final scenario ##int frac dx x^2+a^2 ## as a 'standard' integral too, not merely the situation the place ##a=1##. But I think this being a Calculus research challenge it is anticipated from the OP to figure out how to make it happen. Hints were https://gabletoppak.com/travel-green-gabletop-paks-sustainable-shift/