What is dy/dx of e^-x ?

g(u)=e^u

g'= e^u du/dx

so in this case, y'=-e^-x