You pretty much do what you did to get the first derivative again

into

I think I did that right hahaha. Basically you take the denominator into the numerator and use the chain rule again and get all that goobley gook up there just use your formula again. This of course creates steps that can sort of have you making mistakes here and there so make sure to double check you work and plot a few points