I know that $e^{\ln{x}}$ is just the inverse of the exponential function but I don’t get it how it is done to arrive with the form: $e^{\ln{x}}=x$. Let’s say this:
$\ln{x} = a$ so $x = e^a$, but my point is how can I come up with the form $e^{\ln{x}} = x$.
I think the answer is there in your question , which is
Let $a=\ln x\tag {1}$
so $$x=e^a \tag {2}$$ now substitute $1$ in $2$ to get $$x=e^{a=\ln x} $$