Hey Emy28.

Hint: for the first one, try using the fact that all continuous functions in an interval satisfy lim x->a f(x) = f(a) and show that all the piecewise limits are the same from each side.

This is establishing continuity for a piecewise function.