My table of Integrals has the overall situation ##int frac dx x^2+a^2 ## as being a 'regular' integral also, not only the case exactly where ##a=1##. But I think this being a Calculus research trouble it is predicted with the OP to figure out how to do it. Hints were https://gabletoppak.com/