Recall that exponential functions and polynomials are continuous on the whole real line,. Therefore, it is enough to consider the continuity of function at and .
Using
and
,
to have the continuity at , we need .
On the other hand, we have
and
.
This implies that is continuous at when . i.e., .
To sum, the answers are .