(3x^2+my-8)-(-nx^2+2y)
=3x^2+my-8+nx^2-2y
=(3+n)x^2+(m-2)y-8
不含有x、y
3+n=0,m-2=0
m=2,n=-3
n^m=(-3)^2=9