65% passed in English. So 35% failed in it.
70% passed in Maths. So 30% failed in it.
Percentage of people not all pass
= Percentage of people failed in E
+ Percentage of people failed in M
- Percentage of people failed in both
That is
Percentage of people not all pass = 35 + 30 - 27 = 38%
Percentage of people passed in both = 62%