Thomas can go to school and an ice cream parlor on the bus and his bicycle. In how many ways can he reach the school and parlor?
Show your calculation.