We will observe one of the cases considering $m$ varies from 1 to 4 and $n$ varies 1 to 2.
Now our primary key is {$m$,$n$} i.e, together they must be unique.
So, the different tuples we get are (1,1), (2,2), (3,1), (4,2), (1,2), (2,1), (3,2), (4,1) .
Here they are all unique, So, for $m$=4 and $n$=2, we get at most 8 tuples.
The answer to the question will be 10*5 = 50.