Let A be the set of students who passed in English, and B be the set of students who passed in Mathematics.
We have,
n(A) = 50, n(B) = 60, n (A∩B) = 40
Since,
n (A∪B) = n(A) + n(B) − n(A∩B) = 50 + 60 −40
n (A∪B) = 70
So, the number of students who passed at least in one of the subjects is 70.