\(2x-\left(xy-3y\right)=-5\)
\(2\left(x-3\right)-y\left(x-3\right)=-5-6\)
\(\left(x-3\right)\left(2-y\right)=-11\)
\(=>\left[{}\begin{matrix}x-3=-11\\2-y=1\end{matrix}\right.=>\left[{}\begin{matrix}x=-8\\y=1\end{matrix}\right.\)
\(=>\left[{}\begin{matrix}x-3=-1\\2-y=11\end{matrix}\right.=>\left[{}\begin{matrix}x=2\\y=-9\end{matrix}\right.\)
\(=>\left[{}\begin{matrix}x-3=1\\2-y=-11\end{matrix}\right.=>\left[{}\begin{matrix}x=4\\y=13\end{matrix}\right.\)
\(=>\left[{}\begin{matrix}x-3=11\\2-y=-1\end{matrix}\right.=>\left[{}\begin{matrix}x=14\\y=3\end{matrix}\right.\)