Mealy to Moore Conversion
It is very simple to understand.

The Mealy machine has 'm' outputs that means total 'm' transitions possible. 
Number of states are 'n'.
Hence, there are a maximum of m*n transitions possible in total.

All these transitions should be depicted in Moore machine as well, as the power of both are same.