.

Now compute the limit from the left and the limit from the right separately. They both give 0, showing that the derivative of Y at 0 exists and is equal to 0.

For the second one use the derivative theorem about the composition of 2 functions.

If you need clarification on the right and left hand limits let me know.