If the solution of the inequality system x > 2m + 1, x > m-2 is x > 2, find the value of M

If the solution of the inequality system x > 2m + 1, x > m-2 is x > 2, find the value of M

The smaller of 2m + 1 and m-2 is equal to 2
If 2m + 1