From these 5 people, separate the one who studying neither Math nor Science. You will get then 4 persons, each of which is studying some of the two subjects. But you are given that four of the persons are studying Math - hence, these 4 are studying Math. Further, that three, who studying Science, are among that four. Hence, 3 persons are studying both subjects. ANSWER. 3 persons are studying both subjects.