I want to prove the following: If we have a function $f$ (not necessarily differentiable), but with right and left derivative $$f'_{\pm}(x) \equiv\lim_{y \rightarrow x^{\pm}} \frac{f(y)-f(x)}{y-x}$$ existing at all $x$ in $\mathbb{R}$ with $f'_+(x) \leq f'_+(y)$ $\forall x \leq y$, then $f$ is convex.
This is easily proven if $f$ is differentiable using the mean value theorem, but nothing like the same strategy (as far as I can see) works for this example. Any help would be massively appreciated!