## dy/dx = (2x+y-1)/ (4x-2y +1)

I'm asked to solve the equation dy/dx = (2x+y-1)/ (4x-2y +1) using substituition of x = X+1 , y = Y-1 , the ans given is ( (x-y-2)^2) (x^2 -2x -y^2 -2y) = c , anyone can point out where's my mistake ?