You can
put this solution on YOUR website!Variable assigning:
Winning candidate had w votes.
Losing candidate had w-220 votes (since the winning candidate had 220 more votes than he had)
Equation forming:
Now, for the solving!
So, the winning candidate had 515 of the 810 votes. The rest go for the losing one. It's a fairly easy subtraction: