Question 72817
Set up this equation
{{{.5t+.25t+.125t+40=t}}} The left side is 50% of the total (t), plus 25% of t, plus 12.5% of t and finally plus 40 equals the total.
Now solve for t
{{{.875t+40=t}}}Add like terms. 
{{{40=t-.875t}}}Subtract .875t from both sides
{{{40=.125t}}}Subtract like terms
{{{40/.125=t}}}Divide .125 on both sides
{{{t=320}}}
So the total number who voted was 320 people
Check:
{{{.5(320)+.25(320)+.125(320)+40=320}}}
{{{160+80+40+40=320}}}
{{{320=320}}}Works