It is given that each family has 2 children.
(i)
Consider G represents a girl while B represents a boy.
Thus, the sample space in knowing whether it is a boy or a girl in the order of their births is,
(ii)
As it is given that each family consists of 2 children, there can be a possibility that both are girls, or one is girl and other is boy, or both are boys and no girls.
Thus, the sample space in knowing the number of girls in a family is,