Given $f : \mathbb{R} \to \mathbb{R}$, such that $f'(x)$ and $f''(x)$ exist for all $x \in \mathbb{R}$ and for $x \in [0,2]$, the inequalities $|f''(x)| \leq 1$ and $|f(x)| \leq 1$ hold, I am asked to show that for all $x \in [0,2]$, $|f'(x)| \leq 2$.
I am given a hint that says to write down the Taylor expansions of $f(0)$ and $f(2)$ about a point $a \in [0,2]$. With the remainder in Lagrange form, I get:
$$ \begin{align} \exists \xi_0 \in [0,2]\;\;f(0) &= f(a) -af'(a) + \frac{1}{2}a^2f''(\xi_0) \\ \exists \xi_1 \in [0,2]\;\;f(2) &= f(a) +(2-a)f'(a) + \frac{1}{2}(2-a)^2f''(\xi_1) \end{align}$$
I'm not 100% sure on where to go from here. I have tried manipulating the Taylor expansions, using the fact $a \in [0,2]$ to apply the bounds I was given:
$$ \begin{align} f(0) &\leq |f(a) -af'(a) + \frac{1}{2}a^2f''(\xi_0)| \\ &\leq |f(a)| + |af'(a)| + \frac{1}{2}a^2|f''(\xi_0)| \\ &\leq 1 + |af'(a)| + \frac{1}{2}a^2 \end{align} $$
Similarly for $f(2)$: $$ f(2) \leq 1 + |(a-2)f'(a)| + \frac{1}{2}(a-2)^2 $$
But how exactly do I use this to bound $|f'|$? It's probably right there and I've just missed it somehow.