You can
put this solution on YOUR website!In a two-candidate election 1401 votes were cast.
Let the winner have x votes; let the loser have 1401-x votes
-------------------------------------------------------------
If 30 voters had switched their votes from the winner to the loser, the loser would have won by 5 votes.
winner = x -30
loser = 1401-x+30 = 1431-x
-----------------------------------
EQUATION:
loser - winner = 5 votes
1431-x - (x-30) = 5
1431 - x - x + 30 = 5
2x = 1461-5
2x = 1456
x = 728 votes
---------------------
How many votes did each candidate actually receive?
Winner had x = 728
Loser had 1401-x = 673 votes
==============================
Cheers,
Stan H.
------------------------------