The teacher will be very surprised to see your correct solution 😉
cos(x) y - ---------- = 0 1 - sin(x)
y - cos(x)/(1 - sin(x)) = 0