In a school there are w girls and the rest are boys. If there are x more girls than boys How many boys are there in that school?
There are w girls and the rest are boys.

This means that there are w + x girls and w + x - w boys.

This means that there are x boys.