\[ x y'(x)-y(x)+x \cos \left (\frac {y(x)}{x}\right )+x=0 \] ✓ Mathematica : cpu = 0.101657 (sec), leaf count = 16
DSolve[x + x*Cos[y[x]/x] - y[x] + x*Derivative[1][y][x] == 0,y[x],x]
\[\left \{\left \{y(x)\to 2 x \tan ^{-1}(-\log (x)+c_1)\right \}\right \}\] ✓ Maple : cpu = 0.036 (sec), leaf count = 12
dsolve(x*diff(y(x),x)+x*cos(y(x)/x)-y(x)+x = 0,y(x))
\[y \left (x \right ) = -2 \arctan \left (\ln \left (x \right )+c_{1}\right ) x\]