The polynomial - 3x ^ n × y ^ (M + 2) + x ^ 3 × y-3x ^ 4-1 is a quintic quaternion, and the monomial 3x ^ 2n × y ^ (3-m) is a sixth monomial. Try to find the value of M and n

The polynomial - 3x ^ n × y ^ (M + 2) + x ^ 3 × y-3x ^ 4-1 is a quintic quaternion, and the monomial 3x ^ 2n × y ^ (3-m) is a sixth monomial. Try to find the value of M and n

-3x ^ n × y ^ (M + 2) + x ^ 3 × y-3x ^ 4-1 is a quintic quaternion
So n + m + 2 = 5
3x ^ 2n × y ^ (3-m) is the binomial 2n + 3-m = 6
So n = 2, M = 1