In your usage of the fraction derivative rule $$\left(\frac uv\right)'=\frac{u'v-v'u}{v^2}$$
please have a problem addressed by @Brahadeesh in the comments:
Here $a$ is a constant.
That is, please notice, however your denominator and the $u'v$ part of your numerator are perfectly fine, the $v'u$ part had been evaluated incorrectly.
Having the quoted part of the comment in mind, can you please now try evaluating $$\left(\ln a\right)'\ln x$$
again, where the differentiation is meant to be with respect to $x$, as per the original problem?
Whenever you find and correct your problem, you can also try a different approach (also suggested by @Brahadeesh), which would give the required answer with less evaluation needed (not implying your original approach is incorrect). That goes as follows.
Please notice, $$\frac{\ln x}{\ln a}=\frac1{\ln a}\ln x;$$
now apply the identity $$\left(kf(x)\right)'=kf'(x)$$
with $k=\dfrac1{\ln a}$:
$$\left(\frac{\ln x}{\ln a}\right)'=\frac1{\ln a}\left(\ln x\right)';$$
evaluate further to arrive at the required answer (the prime, again, denotes differentiation with respect to $x$, as per the original problem).