Using the quotient rule and the chain rule you get $$ \frac{d}{dy}\left(\frac{dx}{dy}\right)=\frac{d}{dy}\left(\frac{1}{\frac{dy}{dx}}\right) =\frac{d}{dx}\left(\frac{1}{\frac{dy}{dx}}\right)\times \frac{dx}{dy}\\$$
I don't understand how this came. First is dy/dx always gonna be equal to dx/dy? Wouldn't the function have to be inverse to each other. And how to do chain rule in cases like this... I didn't get how the differentiation is done here. Can you explain with a simple example how chain differentiation like these are done. I am not too good at differentiation