Let's rewrite it the first one


When we apply, log on both sides. We have the logarithm of a power equal to its exponent that is why we have y on the left side.
Rewriting the second one:

Since the Natural Logarithm is log in the base "e" we can say that x is equal to e raised to 9