The derivative of ex is simply ex. However, in this example, x has a coefficient, so we will need to use the chain rule.
If y=e5x, then, by the chain rule, the derivative will be equal to the derivative of e5x with respect to 5x, multiplied by the derivative of 5x with respect to x.