I'm trying to evaluate the following integral:
$$ \int \frac{dx}{2 \sin x - \cos x + 5}.$$
This is in a set of exercises following a chapter on partial fractions, so I imagine there is a substitution we can make to get this into a rational function where we can use partial fraction decomposition. I can't seem to figure out what substitution to make in such a situation though.
The standard substitution is $t=\tan\frac{x}{2}$, because $$ \sin x=\frac{2t}{1+t^2},\quad \cos x=\frac{1-t^2}{1+t^2},\quad dx=\frac{2}{1+t^2}\,dt $$ so your integral becomes $$ \int\frac{1+t^2}{4t-1+t^2+5+5t^2}\frac{2}{1+t^2}\,dt= \int\frac{1}{3t^2+2t+2}\,dt= \int\frac{3}{(3t+1)^2+5}\,dt $$ that you can compute with the further substitution $3t+1=u\sqrt{5}$.