If n (n is not equal to 0) is the root of the equation x2 + MX + 2n = 0, then the value of M + n is

If n (n is not equal to 0) is the root of the equation x2 + MX + 2n = 0, then the value of M + n is

Substituting n into the equation yields
n^2+mn+2n=0
n(n+m+2)=0
N = 0 or N + m + 2 = 0
n+m=-2