First derivation is easy as it's $a^x * \log a$, but I have some troubles with finding the derivative of $ a^x * \log a$
Using the product rule I have $ (a^x *\log a)' = (a^x * \log^2 a) + a^x * \frac{1}{a}$, whereas wolfram says it should be just $a^x * \log^2 a$.
Need a hint.
Hint: Differentiation is with respect to $x $.