Candidates who failed in at least two subjects are those who failed in exactly two or all three. Total = (E&H only) + (H&M only) + (E&M only) + (E&H&M) = 10 + 12 + 12 + 5 = 39. Percentage = (39 / 500) * 100 = 7.8%.