q2) Whenever there is e^x term always try to reduce it to e^x(f(x)+f '(x))
f(x)= e^2x * (1+sin2x/1+cos2x)
Now f(x)=e^2x * (1/(1+cos2x)+sin2x/(1+cos2x))
=e^2x * ((sec2x)/2+tanx) Put e^2x *tanx=t
Then e^2x * ((sec2x)/2+tanx)dx=dt/2
So
f(x)dx =
dt/2=t/2+c=e^2x *(tanx)/2 +c