DSolve[Derivative[1][y][x] == (Csc[y[x]/(2*x)]*Sec[y[x]/(2*x)]*Sin[y[x]/x]*(2*x^2*Cos[y[x]/(2*x)]*Sin[y[x]/(2*x)] + y[x]))/(2*x),y[x],x]