First derivative:
xy' + y + 2yy' = 0
[I am using y' instead of dy/dx. It is easier to type and quite easy to read.]
I have used the product rule (for the product xy) and the chain rule (for y2).
Second derivative:
[xy'' + y'] + [ y'] + [2yy'' + y'(2y')] = 0
and this simplifies to:
(x + 2y)y'' + 2y' + 2(y')2 = 0
We can solve for y'':
y'' = [-2y' − 2(y')2] / (x + 2y)
Here's a movie giving a different view of this example. It uses:
The answer looks quite different, but it does have the same value.