Consider the given integral.
I=∫1+cos2xsin2xdx
I=∫(1sin2x+cos2xsin2x)dx
I=∫(csc2x+cot2x)dx
I=∫(csc2x+csc2x−1)dx
I=∫(2csc2x−1)dx
I=2(−cotx)−x+C
I=−2cotx−x+C
Hence, this is the answer.