Concept:
When two dice are thrown, total number of outcomes = \(6 \times 6 = 36\).
Step 1: Favorable outcomes for sum = 7.
Possible pairs: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) → 6 ways.
Step 2: Favorable outcomes for sum = 9.
Possible pairs: (3,6), (4,5), (5,4), (6,3) → 4 ways.
Step 3: Total favorable outcomes.
\[
6 + 4 = 10
\]
Step 4: Probability.
\[
P = \frac{10}{36} = \frac{5}{18}
\]