My desk of Integrals has the general circumstance ##int frac dx x^two+a^2 ## to be a 'common' integral also, not only the situation where ##a=1##. But I feel this remaining a Calculus research problem it is anticipated on the OP to determine how to do it. Hints were given earlier https://gabletoppak.com/