Here is a CAS solution.
There are several ways of doing it. None are 'right' or 'wrong'. Partial fractions is one way. And there's no doubt about the usefulness and ease of the reciprocal substitution, which is another way.
However, I suspect that whoever set this question would have had partial fractions in mind.