左边展开=2x^2+4xy+nxy+2ny^2=2x^2+(4+n)xy+2ny^2=右边=2x^2-mxy-6y^2
对应比较得 4+n=-m
2n=-6
故m=-1 n=-3 (x^2表示x的平方)