How do you differentiate ln x, e^x, and a^x without losing…