
Anil K. answered 03/31/19
Experienced Test Prep Tutor
Its easier if you find the total marks. Supposing total marks as M, two equations that you should equate are:
30% of M + 30 = Pass
42% of M = Pass + 42 which equates to 42% of M -42 = Pass
Now equating two Pass equation you get, 30% of M + 30 = 42% of M - 42.
You can solve for M which gives you 600. So total marks was 600. Passing marks was 210.
Student 1 got 30% of 600, meaning 180 so failed by 30 marks.
Student 2 got 42% of 600, meaning 252 so got 42 points more than needed to pass.