Let’s say ex=20. If you take the natural logarithm of both sides you get ln(ex) = ln(20).
Since ln(ex) = x, then x=lin(20).
Instead of 20, you could substitute any number. So to generalize, we could say that if ex=y, then x=ln(y).