There were 42 children waiting for a ride. There were 7 cars available. If the same number of children rode in each car, then how many would be in each car?