Final answer:
To find the number of students who did not study in either the cafeteria or the student union, subtract the number of students who studied in both from the total number of students.
Step-by-step explanation:
To find the number of students who did not study in either the cafeteria or the student union, we need to subtract the number of students who studied in both from the total number of students.
We know that 74 students studied in the cafeteria, 57 studied in the student union, and 20 studied in both. So, the number of students who studied in either the cafeteria or the student union is:
74 + 57 - 20 = 111
Therefore, the number of students who did not study in either the cafeteria or the student union is:
125 - 111 = 14