\[ (2 x+1) y'(x)-4 e^{-y(x)}+2=0 \] ✓ Mathematica : cpu = 0.213651 (sec), leaf count = 21
DSolve[2 - 4/E^y[x] + (1 + 2*x)*Derivative[1][y][x] == 0,y[x],x]
\[\left \{\left \{y(x)\to \log \left (2-\frac {e^{c_1}}{2 x+1}\right )\right \}\right \}\] ✓ Maple : cpu = 0.185 (sec), leaf count = 31
dsolve((2*x+1)*diff(y(x),x)-4*exp(-y(x))+2 = 0,y(x))
\[y \left (x \right ) = -\ln \left (\frac {2 x +1}{-1+\left (4 x +2\right ) {\mathrm e}^{2 c_{1}}}\right )-2 c_{1}\]