What did I do wrong?
The first derivative is correct
Now, continue from there by taking the derivative of that. BUT, do not forget to sub in what dy/dx equals. That is where many go astray.
Sub in dy/dx from above:
They just used a common denominator and rewrote it. That is the same thing.