I tried:
$$\lim_{x \rightarrow 2} \frac{xe^{x-1}-2e}{x-2} = \frac{(x-2)?}{x-2}$$
I feel like I can factor $xe^{x-1}-2e$ into $(x-2)y$, but I am not sure what y is.
I tried figuring it out and the closes I got was $$(x-2)(xe^{x-1}e) = xe^{x-1}+xe-2e^{x-1}-2e$$
Am I on the right track? How do I solve this?