(m-x)*(-X)+n(x+m)
=x^2-mx+nx+mn
=x^2+(n-m)x+mn
=x²+5X-6
所以 n-m=5
mn=6
m(n-1)+n(m+1)
=mn-m+mn+n
=2mn+(n-m)
=12+5
=17