My desk of Integrals has the final case ##int frac dx x^2+a^2 ## being a 'conventional' integral as well, not just the case exactly where ##a=1##. But I believe this getting a Calculus research difficulty it is anticipated from the OP to determine how to make it happen. Hints got https://gabletoppak.com/free-water-campaign/