Usually, a method that can work(which fortunately does work in this case) to evaluate integrals of rational functions where the denominator is a polynomial raised to some power is multiplying and dividing by some suitable power of $x$ such that the derivative of the aforesaid polynomial appears in the numerator.
This is usually the highest power of $x$ that can be taken common from the denominator, i.e., $15$ in this case. Say this didn’t strike you, then if the required power of $x$ is $3p$, we desire for some $k\in\mathbb R$:
$$(p+5)x^{p+4}+(p+3)x^{p+2}+px^{p-1}=k\left(2x^{3p+12}+5x^{3p+9}+0\right)$$
Now here, we have $3$ choices corresponding to the term $0$ on the RHS: $p=-5, p=-3, p=0$. It can be easily seen that only for $p=-5$, $p+3:p=2:5\implies k=-1$ which is why we should divide by $x^{15}$ in the numerator and the denominator.
P.S. This method doesn't work in this integral as we have to multiply and divide by $-x^2+3x-\frac{26}9$ amd not simply a power of $x$, which is why I said this method may or may not work for such integrals. But for those integrals where it works, it simplifies the integration beautifully.