The marks obtained by the student are
= 20, 12, (-4)
The total overall marks = 20 + 12 + (-4)
= 20 + 12 - 4
= 32 - 4
= 28
Given that
A student needs to score 40 in order to pass.
So, the number of marks the student needs to get on the 4th test to pass = 40 - 28 = 12
The student needs to score 12 marks in the 4th test to pass.