1.

makes it so that


and because the one-sided limits do not agree,

is not continuous at

under these conditions.
2. For

to be continuous, we need both limits to match up; specifically, we require

3. Similar to (2), we need the limits from either side of

to agree:


4.

will be continuous everywhere so long as

are chosen such that both

and

.

5. I'll leave this part to you.