w children were riding on the bus. At the bus stop x children got on the bus while some got off the bus. Then there were y children altogether on the bus. How many more children got on the bus than those that got off?
There were w children on the bus at the start.

x children got on the bus.

y = w + x children were on the bus in total.

Some children got off the bus. Let's call the number of these children n.

y - n = w + x children remained on the bus.

We know that y children were on the bus in total. Therefore:

y = w + x

We also know that y - n children remained on the bus. Therefore:

y - n = w + x

We can solve these equations to find the values of n and x.

n + x = w + x

n = w

x = w

There were w children on the bus to start with. w children got on the bus. w children got off the bus. Therefore, w more children got on the bus than those that got off.