3x^2+my-8-(-nx^2+2y+7)
=3x^2+my-8+nx^2-2y-7
=(3+n)x^2+(m-2)y-15
3+n=0
m-2=0
n=-3,m=2
n^m+mn=(-3)^2+(-3)*2=9-6=3