2. Put $(u,v)=(x-1,y+1)$ and the ODE becomes $\frac{dv}{du}=\frac{2u+5v}{4u+v},$ which is homogeneous.