Inactive Tutor answered 07/07/13
Let x' = dx/dy. The equation can be changed to,
x' + 2x = (1/y)e^(-2y)
So, this is a typical first order linear differential equation, which has a general solution of
x = (1/e^2y)[∫e^2y (1/y)e^(-2y) dy + c] = (1/e^2y)[ln|y| + c]
Multiply both sides by e^2y and simiplify,
xe^2y - ln|y| = c, where y ≠ 0 because if y = 0, x' + 2x = (1/y)e^(-2y) is undefined.
------
Attn: Here y is a variable, x is the function of y.