We have to complete the table.
We know that the total number of students will be 40. Also that the sum of the fractions of all the categories has to be equal to 1, as it represents the totality of the students.
Then, we start with the fraction of students that have grades "Below C".
We can calculate it as 1 minus the fractions for grades A, B and C:

We know that 7/40 of the students have grades below C.
We can now complete the column for the number of students multiplicating the fraction of students of each category by 40, the total number of students:

We can check the sum of the students as:

We can complete the table as: