In our first equation, we can notice:

and

So, using the fact that
, we have:

In our second equation, we have:

So, using the exponent rules, we get:

So, we can cross out the common factors in each to give us:

So, using the exponent rules, we found the m values in both equations.