To find out how many people were polled in total, we need to sum up the numbers of students and workers using both types of transportation: bus and subway.
Let's break it down step by step:
1. Students Riding the Bus: 27 students.
2. Students Riding the Subway: 21 students.
3. Workers Riding the Bus: 42 workers.
4. Workers Riding the Subway: 76 workers.
To get the total number of people polled, we add up all these values:
[tex]\[
\text{Total people polled} = 27 (\text{students bus}) + 21 (\text{students subway}) + 42 (\text{workers bus}) + 76 (\text{workers subway})
\][/tex]
Summing these values gives:
[tex]\[
27 + 21 + 42 + 76 = 166
\][/tex]
Therefore, the total number of people polled is 166.
So, the correct answer is:
166.