Rearrange to get

This should be easy enough to solve now...

Apply separation of variables to getb) dy/dx = ysinx given the initial value y(pi) = 1

Now integrate both sides and then solve for y.

In both of these, apply the initial condition after you have integrated and solved for y. This will help you determine the value of the arbitrary constant .

--Chris