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. 

There are w + x girls and w - x boys. 

There are 2w + x - w - x = w + x = 2w - 2x boys.