The steps to do solve and simplify the fraction would be:
First thing to do, combine the two fractions into one big messy fraction.
The result would be:
10*2*X^2X^4Y^7Z^2M^7N^3 6*5*X^3Y^3Z^3Z^4M^3M^2N
Now the best thing to do next is to combine all like terms in the
numerator and denominator.
Now you have:
20X^6Y^7Z^2M^7N^3 30X^3Y^3Z^7M^5N
Now it is time to simplify the whole expression and, as before,
simplifying the constants first is the simplest way. 20/30 would then
therefore simplify to 2/3, meaning that a 2 remains on the numerator
and a 3 remains on the denominator.
Now the more complicated part, simplifying the variables in the fraction.
Arbitrarily I will choose the X to simplify first. (X^6)/(X^3). This
simplifies to X^3 (on the numerator).
Next, let's do the Y variable. (Y^7)/(Y^3). This simplifies to Y^4
and this goes in the numerator.
Now, onto the Z variable. (Z^2)/(Z^7). This simplifies to (Z^-5) on the
numerator, or Z^5 in the denominator.
Next up is the M variable. (M^7)/(M^5). This simplifies to M^2 on
the numerator.
Finally, onto N. (N^3)/(N). This simplifies to N^2 on the numerator.
A combination of all of this would yield (X^3Y^4M^2N^2) on the numerator,
with (Z^5) in the denominator.
This is the variable part of the answer.
Now with the constant part and the variable part of the answer, all that
needs to be done is to combine them. This would look like:
2  *  X^3Y^4M^2N^2 3               
Z^5
           
Or you could have it look like:
2X^3Y^4M^2N^2
  
3Z^5