Consider the given integral.
I=∫(2+sin2x1+cos2x)exdx
I=∫(2+sin2x1+2cos2x−1)exdx
I=∫(2+sin2x2cos2x)exdx
I=∫(22cos2x)exdx+∫(sin2x2cos2x)exdx
I=∫exsec2xdx+∫(2sinxcosx2cos2x)exdx
I=∫exsec2xdx+∫tanxexdx
I=∫exsec2xdx+tanxex−∫sec2xexdx
I=extanx+C
Hence, this is the answer.