Out of the 30, 15 students brought snacks
From the question, we have it that out of the 30 students, only 3/6 bought
The number that brought snacks can be calculated by multiplying the fraction with the number of students
Mathematically, we have this as;