Okay, we have two differential equations that interest us:
(a) dv/dy = -v-2x+4y
(b) dv/dy = -v
(b) is called a homogeneous part of (a).
Okay, here's the trick: If v_1 is a solution to (a) and v_0 is a solution to (b), then v_0+v_1 is also a solution to (a). Conversely, if v_1 and v_2 are solutions to (a), then v_1-v_2 is a solution to (b).
What this means is that if we find one solution of (a) and add it to each solution of (b), we get each solution of (a).
Okay, let's solve (a) first. Since (a) is of the form v'=c*v+p(y), there is a polynomial solution for v (of the same degree as p). You can find that however you want, for example by solving for its coefficients. Example: If you have f'=2f-4x², then a polynomial solution f=ax²+bx+c satisfies 2ax+b=2ax²+2bx+2c+4x², so 0=2a-4, 2a=2b and b=2c, which is a solvable linear equation system in (a, b, c) that gives you f=2x²+2x+1.
In your particular case, we get a solution v=-4y+2x+4.
Now let's solve (b). That's an easy one, I'm sure you learned that f'=af is solved by all c*exp(ax). More generally, f'=g(f) is solved by all h-1(x+c), where h'=1/g.
In your particular case, we have v'=-v, so we get the solutions v=c(x)*exp(-y).
Now if we add the solution of (a) to all solutions of (b), we get v=c(x)*exp(-y)-4y+2x+4.