Use your derivative tools to write the second derivative,
Start with the quotient Rule.
Use the chain rule.
You could use the quotient rule AND the chain rule...Or you could rewrite y as with exponents and quickly use the Power Rule!
Rewrite y as a piecewise function. The derivative will be a piecewise function as well. So will the second derivative.