TL;DR Summary: i want to understand the concept.
i denote the students as X,
0.1X students passed all topics
0.1X students did not pass any topics
0.80X remaining students
0.2*0.80X students passed in one topic
0.25*0.80X students passed in 2 topics only
0.24*0.80X students passed in 4 topics...