So, there are 6 people standing at first. Then, 10 people get off. The 6 people standing will take 6 out of 10 of the empty seats because 10 people left. Now, there are four seats left. Out of the 8 people who get on, 4 of them will take a seat. So, there will be 4 people left. Those 4 people are now standing.
Hope this helped!