.
Case 1
In this case, the sample space is the set of all objects { (X, YZW) },
where X is any integer number between 1 and 7 inclusively and YZW is the triple of different (non-repeating)
integer numbers from 1 to 7 inclusively, where X and Y can be equal OR UNEQUAL integer numbers
(so, there is NO restrictions for equality or inequality of the values of X and Y in this sample set).
The number of elements in this sample space is 7*(7*6*5) = 1470.
Case 2
In this case, the sample space is the set of all quadruples { XYZW } of non-repeating integer numbers X, Y, Z and W from 1 to 7, inclusively.
The number of elements in this sample space is 7*6*5*4 = 840.