CAN SOMEONE JUST PLEASE ANSWER THIS ASAP FOR BRAINLIEST!!!

The quadratic expression x^2 + Mx + 18 can be factored as (x + g)(x + h), where M, g, and h are are integers.

Pat wrote that M could be equal to -11.

Grace wrote that M could be equal to 7.

Which student is correct?

A. Only Pat

B. Only Grace

C. Both Pat and Grace

D. Neither Pat nor Grace