I will not answer this question for you, but I will tell you how to do it.
First, of all, graph the function (you may have to graph both parts and ignore the parts which are not relevan).
You will see immediately what the critical points are.
The function is continuous at x = -1 but it is not differentiable there.
If you still don't see the answer, please send me a message and I will try to help further.

Paul M.
tutor
I am glad I was able to hylp.
Report
10/05/18
Lene C.
10/05/18