Here is a hint to make everything clearer:
Let's say that the people voting are Peoples 1-50.
The candidates are Candidates a-d.
We can draw a diagram to represent this question, or we can find the equation easily, labeling x as the people voting and y as the candidates.
Hope this helped!