With
$$f(x) = 2 - e^x + 2x \tag{1}\label{eq1}$$
you can get
$$f'(x) = -e^x + 2 \tag{2}\label{eq2}$$
just using the basic derivatives for constants, $e^x$ and powers of $x$.
As you're doing it, I suggest you do the limit calculations for each term separately, to make it a bit easier (e.g., the derivative of $2$, as a constant, is just $0$). This is not particularly important for a relatively simple expression as in \eqref{eq1}, but it can be very helpful to use that the derivative of a sum of expressions is the sum of the derivatives of these expressions when they become considerably more complicated, e.g., when there are many terms involved.
What you've done with your work is correct. Note that
$$\lim_{x \to x_0} \frac{e^{x_0} - e^{x}}{x - x_0} = -e^{x} \tag{3}\label{eq3}$$
You can determine this using the properties of exponentials. In particular, the MSE Using the Limit definition to find the derivative of $e^x$ gives a lot of good details about how to do this.