I have a quick question regarding implicit differentiation:

Heres the problem and its solution

.

http://img697.imageshack.us/img697/5...91214at904.png

What I dont understand is from the 1st step (First arrow) to the second, in particular why the x^2 turns into y^2 in 2xycos(y^2). The same goes on the right side. Why isnt it y'[2xycos(x^2)+sin(x^2)]=-sin(y^2)-2xycos(y^2)?

Also, on the right side there is a y' which seems to disappear?

Thanks in advance.