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

Let ff be the function above. What are all values of aa and bb for which ff is differentiable at x=1x=1 ?