We know that the sum of two squares of the equation x2 + (M + 9) x + 2m + 6 = 0 is 24, then the value of M is equal to?

We know that the sum of two squares of the equation x2 + (M + 9) x + 2m + 6 = 0 is 24, then the value of M is equal to?

Let two be x1, x2
Then X1 + x2 = - (M + 9)
x1×x2=2m+6
From the meaning of the title, we know that X1 ^ 2 + x2 ^ 2 = 24
So, (x1 + x2) ^ 2-2 × x1 × x2 = 24
Then, [- (M + 9)] ^ 2-2 × (2m + 6) = 24
The solution is m ^ 2 + 18m + 81-4m-12-24 = 0
m^2+14m+45=0
m1=-5,m2=-9