Let $g(x)=e^{-x} f(x)$
such that $ g(a)=0, g(b)=0$
and $g(x)$ is continuous and differentiable.
Then, for atleast one value of $c \in(a, b)$ such that $g(c)=0$
Now, $g'(x)=e^{-x} f'(x)+\left(-e^{-x}\right) f(x)$
$\Rightarrow g'(c)=e^{-c} f^{\prime}(c)+\left(-e^{-c}\right) f(c)=0$
$\Rightarrow e^{-c} f'(c)=e^{-c} f(c) $
$\Rightarrow f^{\prime}(c)=f(c)$