All of the frequency tables have the same numbers in the first and last categories, so choosing the correct table can be done by counting instances in any of the middle three categories.
We note there are 5 who biked to school, so the first table is indicated as being correct.
_____
If you complete a frequency table, you find that it matches the first table shown.