40 Students were asked if they played an instrument (Yes or No) and if they were in a band (Yes or No)
25 answered they play an instrument.
20 answered they are in a band.
20 answered they are not in a bad.
To construct a two-way frequency table you have to write the possible answers for both questions in the margins of the table.
For example, write if they are in a band in the columns and if they play an instrument in the rows:
Add a third row and column for the totals:
The next step is to write the given data in the table.
Each value given corresponds to the totals.
"25 answered they play an instrument." is the total of the first row
"20 answered they are in a band." is the total of the first column
"20 answered they are not in a bad." is the total of the second column
"40" is the total number of students and corresponds to the cell where the third row and column intersect:
The total number of students that do not play any instrument is equal to the difference between the total number of students and the number of students that answered they play an instrument.
There is not enough information to fill in the body of the table.
The correct option seems to be B.