HINT: The technique you need to use here is called "Separation of Variables". The idea is that for the differential equation $ \frac{dy}{dx} = f(x,y) $, in the special case where we can write $f$ as a product of functions of $x$ and $y$ separately, i.e $f(x,y) = h(x)g(y) $, then we write the equation in the form $ \frac{dy}{g(y) } = h(x) dx .$
Then we have only a single variable on each side, and we integrate both sides. So here, we should write $\int \frac{dy}{y} = \int x \sin x dx ,$ evaluate the integrals, and then solve for $y.$ The left integral is simply a natural log, while the integral on the right can be found by integration by parts.