\(2xy-x^2-y^2+16\)
\(=( 2xy-x^2-y^2 )+16 \)
\(=16-(x-y)^2\)
\(=(4+x-y).(4-x+y)\)
\(2xy-x^2-y^2+16=-\left(x^2-2xy+y^2\right)+16=-\left(x-y\right)^2+4^2=\left[\left(x-y\right)^2-4^2\right]=\left(x-y-4\right)\left(x-y+4\right)\)
\(2xy-x^2-y^2+16\)
\(=-\left(x^2-2xy+y^2-16\right)\)
\(=-\left[\left(x-y\right)^2-4^2\right]\)
\(=-\left(x-y-4\right)\left(x-y+4\right)\)