We have the following:
In this case, the first thing is to divide all the students into 4 groups, just like this
Then, since 8 students left in cars, now we must take the equal amount from each group, therefore
From each group we took 2 people, which means that 44 students would then leave each bus (46-2)