DSolve[Derivative[2][y][x] == (Sin[x]*y[x])/(x*Cos[x] - Sin[x]) - (x*Sin[x]*Derivative[1][y][x])/(x*Cos[x] - Sin[x]),y[x],x]