Theory
A two-way table sorts the same group by two characteristics. Rows show one characteristic and columns show the other. Each inside cell counts people or objects that fit both labels.
For example, the cell where the Girls row meets the Bus column counts girls who take the bus. Read both labels before using a number.
The number at the end of a row is the total for that row. The number at the bottom of a column is the total for that column. The bottom-right number is the grand total: everyone in the survey counted once.
Fill missing cells with subtraction when a row or column total is known. If 30 girls include 18 bus users, then 30 - 18 = 12 girls walk. Use addition to find totals when both parts are known.
Check every row and every column. Their inside numbers must add to their totals, and the row totals and column totals must both add to the same grand total.
When one person is chosen from the whole group, probability = number in the required cell or category / grand total. A question beginning 'of the girls' has a different starting group; that idea is developed in the Higher conditional probability lesson.