Hello!
In a sample of 1100 people, the specific candidate got 624 votes. So, we can write it as 624/1100.
And if the total of voters is 40,000, how many votes this specific candidate will receive? We can write it as x/40,000.
Now, let's equal both fractions look:
[tex]\begin{gathered} \frac{624}{1100}=\frac{x}{40000} \\ \\ 1100x=624\times40000 \\ 1100x=24960000 \\ x=\frac{24960000}{1100} \\ \\ x\cong22691 \end{gathered}[/tex]Approximately 22691 votes.