There are two outcomes for flipping a coin and 6 for rolling a 6-sided number cube. The sample space is: (H, 1), (H, 2), (H, 3), (H, 4), (H, 5), (H, 6) (T, 1), (T, 2), (T, 3), (T, 4), (T, 5), (T, 6)
There are 12 total outcomes. Only one has heads and a 2, so the probability is 1/12.