If the equation (m-2) x ^ m ^ 2-2 + MX = 7 is a quadratic equation of one variable about X, find the value of M

If the equation (m-2) x ^ m ^ 2-2 + MX = 7 is a quadratic equation of one variable about X, find the value of M

M-2 is not equal to 0, so it cannot be 2, and the square of M is 2, so m is a positive and negative root sign 2