We know that a group of 12 people is traveling in three vehicles. We know that 4 people ride in each vehicle.
So, for the first car we choose 4 people out of 12. Then from the remaining 8 people we choose 4 people for the second car. While the remaining 4 people will go into the third car.