Answer:
28 students passed in both subjects.
Explanation:
We solve this question treating each event as a Venn set.
I am going to say that:
Event A: Passed Biology.
Event B: Passed Chemistry.
46 passed Biology
This means that

42 passed Chemistry.
This means that

Every student passed at least one of the two subjects.
This means that

How many students passed in both subjects?
This is:

From the values we have above

28 students passed in both subjects.