Step 1: Use total number of students = 100.
Step 2: Add those who failed in at least one subject:
\[
\text{Failed only in Hindi} = 35, \quad
\text{Failed only in English} = 45, \quad
\text{Failed in both} = 20
\]
\[
\text{Total failed} = 35 + 45 + 20 = 100
\Rightarrow \text{Passed in both} = 100 - 100 = 0
\]
This gives contradiction, so reinterpret as:
Let’s assume instead:
35% failed in Hindi (including overlap)
45% failed in English (including overlap)
20% failed in both
Then:
\[
\text{Failed in at least one subject} = 35 + 45 - 20 = 60%
\Rightarrow \text{Passed in both} = 100 - 60 = 40%
\]
Still doesn’t match. Let's assume these are mutually exclusive:
35% only Hindi
45% only English
20% both
Then:
\[
\text{Failed total} = 100% \Rightarrow \text{Passed in both} = 0%
\]
Contradiction remains.
Final assumption (best fit):
If:
35% failed in Hindi
45% failed in English
20% failed in both
Then:
\[
\text{Failed in total} = 35 + 45 - 20 = 60%
\Rightarrow \text{Passed in both} = 100 - 60 = 40%
\]