Complete the two-way frequency table below. The table shows that, of 40 students in a physical education class, 18 play football, 20 play basketball, and 3 play both sports. How many students in this class do not play football or basketball?

Solution:
Given:
The table can be completed as shown.
From the table, the number of students that do not play football or basketball is marked below;
Therefore, 5 students do not play football or basketball.