document.write( "Question 81502: In a town election, the winning candidate had 220 more votes
\n" ); document.write( "than the loser. If 810 votes were cast in all, how many votes did each candidate
\n" ); document.write( "receive?
\n" ); document.write( "

Algebra.Com's Answer #58388 by doctor_who(15)\"\" \"About 
You can put this solution on YOUR website!
This can be solved in a few ways, but this should work :
\n" ); document.write( "--
\n" ); document.write( "let w = winning candidate's votes.
\n" ); document.write( "The loser got 220 less than this, so he/she got w-220 votes.
\n" ); document.write( "--
\n" ); document.write( "The total number of votes is the winner's plus the loser's added together
\n" ); document.write( "So : w + (w-220) = 810
\n" ); document.write( "Add 220 to both sides
\n" ); document.write( "w + w = 1030
\n" ); document.write( "w = 515 (ie the winning candidate got 515 votes)
\n" ); document.write( "From this, we can then easily work out, the losing candidate must have got 295 votes.
\n" ); document.write( "
\n" );