My desk of Integrals has the final case ##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 in the OP to figure out how to get it done. Hints got https://gabletoppak.com/supporting-sdg-14-life-below-water-through-sustainable-edible-oil-packaging-with-gabletop-cartons/