Continuity

Assume a, bRa,\ b \in \mathbb{R} and f(x)f(x) is the function given by
f(x)={ex1,if  x>1a,if  x=1x2+b,if  x<1f(x)=\begin{cases} e^{x-1},& \text{if}\;x>1\\ a,&\text{if}\;x=1\\ -x^2+b,&\text{if}\;x<1 \end{cases}

(i) Determine the values of aa and bb such that f(x)f(x) is continuous at 1.
More Continuity Questions: