Square both sides. You will get = cos(x)*y. Cancel "y" in both sides. You will get y = cos(x). Take the derivative y' = -sin(x). It is your answer.