El profesor se sorprenderá mucho al ver tu solución correcta😉
y(x) ---- + cot(x) = 3 dx
cot(x) + y/dx = 3
y(x) = dx*(3 - cot(x))