Two coin flips and a dice sum
You want the probability of flipping two heads in a row with a fair coin, and separately the probability that two fair six-sided dice sum to 7.
ResultP(two heads) = 0.25; P(sum = 7) = 1/6 ≈ 0.1667
Coin flips are independent, so P(H and H) = P(H) × P(H) = 0.5 × 0.5 = 0.25. For two dice, there are 6 × 6 = 36 equally likely ordered outcomes. The pairs summing to 7 are (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) — six of them — giving 6/36 = 1/6 ≈ 0.1667.