xy-2z+2xz-y
xy-y+2xz-2z
y(x-1)+2z(x-1)
(y+2z)(x-1)