Here from the hypothesis we know the functional value at a point and we know the bound of its derivatives. We have to find the functional value at an other point. This suggest us that we have to apply Mean Value Theorem.
For this problem we are going to take $a=0$ and $b=1$. Also note that by given hypothesis $|f'(x)|\leq 5$ for all $x$. Therefore, $$|f'(x)|\leq 5,\qquad\text{for all } x\in(0,1)\tag{Eq. 1}$$
Hence, by applying MVT, we get
$$\begin{aligned}f(1)-f(0)&=(1-0)f'(c) &&\text{for some } c\in(0,1)\\ |f(1)-f(0)|&=|f'(c)| && \text{By taking both side modulus}\\ |f(1)-0|&\leq 5 && \text{By (Eq. 1) and $f(0)=0$}\\ |f(1)|&\leq 5\end{aligned}$$
Hence, the above expression suggest that $-5\leq f(1)\leq 5$, that means, $f(1)\leq [-5,5]$.
The correct option is (B).