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