Firstly we need to find how many students passed chemistry or biology
60-8=52 studdnts passed biology or chemistry
Let number of students who passed chemistry is x, than number of students who passed biology is 52-x.
So, 23 students passed chemistry, than
23+6=29 students passed biology
Answer: 23 students passed chemistry and 29 students passed biology