Finding $\int \frac{1+\sin x \cos x}{1-5\sin^2 x}dx$ 
Find $\int \frac{1+\sin x \cos x}{1-5\sin^2 x}dx$

I used a bit of trig identities to get: $\int \frac {2+\sin (2x)}{-4+\cos(2x)}dx$ and using the substitution: $t= \tan (2x)$ I got to a long partial fractions calculation which doesn't seem right.
Any hints on how to do it please?

The denominator of your second integral should be $-3+5\cos 2x$, because
from the identities $\sin x\cos x=\frac{\sin 2x}{2}$ and $\sin ^{2}x=\frac{
1-\cos 2x}{2}$ we obtain
\begin{equation*}
\frac{1+\sin x\cos x}{1-5\sin ^{2}x}=\frac{2+\sin 2x}{-3+5\cos 2x}.
\end{equation*}
To evaluate 
\begin{equation*}
\int \frac{2+\sin 2x}{-3+5\cos 2x}dx
\end{equation*}
we can use the standard half-angle substitution $t=\tan x$. Since $dt=\left(
t^{2}+1\right) dx$, $\sin 2x=\frac{2t}{t^{2}+1}$ and $\cos 2x=\frac{1-t^{2}}{
t^{2}+1}$, we thus have
\begin{eqnarray*}\int \frac{2+\sin 2x}{-3+5\cos 2x}dx
=\int \frac{t^{2}+t+1}{-\left( 2t-1\right) \left( 2t+1\right) \left(
t^{2}+1\right) }dt
\end{eqnarray*}
Now, using partial fractions decomposition, we obtain
\begin{equation*}
\frac{t^{2}+t+1}{-\left( 2t-1\right) \left( 2t+1\right) \left(
t^{2}+1\right) }=-\frac{7/20}{t-1/2}+\frac{3/20}{t+1/2}+\frac{t/5}{t^{2}+1}.
\end{equation*}
As such, 
\begin{eqnarray*}
\int \frac{2+\sin 2x}{-3+5\cos 2x}dx
&=&-\frac{7}{20}\ln \left| \tan x-\frac{1}{2}\right| +\frac{3}{20}\ln \left|
\tan x+\frac{1}{2}\right| \\&&+\frac{1}{10}\ln \left| \tan ^{2}x+1\right| +C.
\end{eqnarray*}
