Clearly, X is a random variable defined as below :
X(f1) = 3, X(f2) = 4, X(f3) = 3, X(f4) = 2, X(f5) = 5,
X(f6) = 4, X(f7) = 3, X(f8) = 6, X(f9) = 4, X(f10) = 5
Thus, X can take any value 2,3,4,5 or 6 depending upon which family is selected Now,  X will take the value 2 when the family f4 is selected X can take the value
3 when any one of the families f1, f3, f7 is selected Similarly,
X = 4,  when family f2, f6 or f9 is selected,
X = 5,  when family f5 or f10 is selected
and
X = 6, when family f8  is selected