Let $f : [0,\infty] \to \mathbb{R}$ be a function such that its derivative $f'(x)=e^{x^2}$.
Compute $$\lim_{x\to 0} \frac{f(2)-f(x+2)}{x}$$
The definition of the derivative is
$$f'(a)= \lim_{x\to 0} \frac{f(a+x)-f(a)}{x}$$
so if $f'(a)=e^{a^2}$ then
$$e^{a^2}=\lim_{x\to 0} \frac{f(a+x)-f(a)}{x}$$
if $a=2$ then
$$e^{a^2}=\lim_{x\to 0} \frac{f(2+x)-f(2)}{x}$$
I'm a little bit stumped here, my naive approach would be to multiply both sides by $(-1)$ and get that the answer is $-e^{2^2}$ but I don't think I can do that.
We have $$f'(a)= \lim_{x\to 0}\frac{f(a+x)-f(a)}x$$ but you made a mistake in replacing the LHS with $e^{x^2}$. It should be $e^{a^2}$: $$e^{a^2}=\lim_{x\to 0}\frac{f(a+x)-f(a)}x$$ Set $a=2$ and negate: $$-e^{2^2}=\lim_{x\to0}\frac{f(2)-f(x+2)}x=-e^4$$