Differentiate the following functions with respect to x :
ex−tan xcot x−xn
ex1+ex
x1+tan x
3xx+tan x
x tan xsec x+tan x