Derivation (Chain rule for exponential functions)