When a coin is tossed, the possible outcomes are head (H) and tail (T).
If a coin is tossed twice, the possible outcomes are given by
S = {HH, HT, TH, TT}
Again, if the second draw results in a head, then a dice is rolled. The events associated with this experiment is given by
A = {(HH, 1), (HH, 2), (HH, 3), (HH, 4), (HH, 5), (HH, 6), (TH, 1), (TH, 2), (TH, 3), (TH, 4), (TH, 5), (TH, 6)}
Hence, the sample space for this experiment is given by
(S ∪ A) = {(HH, 1), (HH, 2), (HH, 3), (HH, 4), (HH, 5), (HH, 6), (TH, 1),
(TH, 2), (TH, 3), (TH, 4), (TH, 5), (TH, 6), (HT), (TT)}