So in the same way that the inverse of the exponent can be represented like so...
[itex][2^{3} = 8][/itex] = [itex][log_{2}8 = 3][/itex]
...we can arrange the inverse of this exponent in question like so:
[[itex]e[/itex] [itex]^{log_{e} a^{x}}[/itex] = [itex]a^{x}[/itex]] => [[itex]log[/itex][itex]_{e}[/itex] [itex]a^{x}[/itex] = [itex]log_{e}a^{x}[/itex]](Color coordinated so that, if correct, it can be determined to be correct for the right reason - that is, arranged correctly.)