Assume that $ f: \mathbb R \to \mathbb R $ is uniformly continuous. prove that there are constants $A,B$ such that $ |f(x)| \le A + B|x| $ for all $ x \in \mathbb R $.
my concern is just $f$ is uniformly continuous on $\mathbb R$ how this is going to help us to find such $A$ and $B$.
If you put $x=0$ then you see that $A$ has to be (at least) the absolute value of $f(0)$. So after a shift you can just assume $f(0) = A = 0$. Then it's immediately obtained by contradiction.