First of all, let's permute everything; All operations of both the transactions.
Doing this will result in - (m+n)!
Now,
We can't change the internal order of execution of operations within a schedule, we can just interleave the operations of both the transactions.
Therefore, to remove the permutations of internal operations of transaction T1, we need to divide the above expression by n!. Same goes for the transaction T2. Thus we get the expression $\frac{(m+n)!}{m!n!}$