For (i), multiply num and den with sec2x and substitute tanx = t then partial fractions
Similarly for (ii) except multiply with cosec2x and substitute cotx = t
\hspace{-16}$(i) $\bf{\int\frac{1}{1+\sin^4 x}dx}$\\\\\\ (ii) $\bf{\int\frac{1}{1+\cos^4 x}dx}$
For (i), multiply num and den with sec2x and substitute tanx = t then partial fractions
Similarly for (ii) except multiply with cosec2x and substitute cotx = t