I am having problem in solving this indetermination:
$$\lim_{x\to+\infty} {e^{2x}−1\over e^x−1}$$
I tried to leave the term in common in evidence and cut them. I also tried to separate the limit for other notable limits but I always end up with the wrong solution.
Could you guys give a hint, please? Thank you

Hint: Let $u=e^x$. We then have
$$\lim_{x\to+\infty} {e^{2x}−1\over e^x−1}=\lim_{u\to+\infty} {u^2−1\over u−1}=\lim_{u\to\infty}\frac{(u+1)(u-1)}{u-1}$$