Let $a,b \in \mathbb{R}$, $a<b$ and let $f$ be a differentiable real-valued function on an open subset of $\mathbb{R}$ that contains [a,b]. Show that if $\gamma$ is any real number between $f'(a)$ and $f'(b)$ then there exists a number $c\in(a,b)$ such that $\gamma=f'(c)$.
Hint: Combine mean value theorem with the intermediate value theorem for the function $\frac{(f(x_1)-f(x_2))}{x_1-x_2}$ on the set $\{(x_1,x_2)\in E^2: a\leq x_1 < x_2 \leq b\}$.
This is question number 7 on page 109 of Rosenlicht (introduction to Analysis).
I am having a lot of trouble trying to start on this problem.