(1) Numerator degree is not smaller! Long division first:

Now this already has the form of a partial fraction decomposition, so we proceed directly to integration.


(2) Integrate using power rule (with log):