\(4x-xy+y=7\left(x;y\in Z\right)\)
\(\Rightarrow x\left(4-y\right)-\left(4-y\right)+4=7\)
\(\Rightarrow\left(x-1\right)\left(4-y\right)=3\)
\(\Rightarrow\left(x-1\right);\left(4-y\right)\in U\left(3\right)=\left\{-1;1;-3;3\right\}\)
\(\Rightarrow\left(x;y\right)\in\left\{\left(0;7\right);\left(2;1\right);\left(-2;5\right);\left(4;3\right)\right\}\)