My desk of Integrals has the final case ##int frac dx x^two+a^2 ## for a 'normal' integral way too, not only the situation where ##a=1##. But I do think this remaining a Calculus homework challenge it is anticipated from the OP to figure out how to get it done. Hints https://gabletoppak.com/edible-oil-in-gabletop-pak/