Blue shirt - 5/6
White shirt - 2/5
Total students - 36
So the answer is
5/6 of the students wearing blue shirts out of 36 are 30.
2/5 (i.e 4/10) of the students wearing white shirts out of 36 are 24.
Remaining 5/6 students are wear shirts other than blue or white are 30.