$$ f(x)=\begin{cases} x+b & \text{if } x \leq 1 \\ ax^2 & \text{if } x\gt 1 \end{cases} $$

Let \(f\) be the function above. What are all values of \(a\) and \(b\) for which \(f\) is differentiable at \(x=1\) ?