Let the number of correct answers be x
and the number of wrong answers be y.
When 3 marks are given for each correct answer and 1 mark deducted for each wrong answer, his score is 40 marks
So x - y = ...............(1)
His score would have been 50 marks if 4 marks were given for each correct answer and 2 marks deducted for each wrong answer
Thus, x - y = .................(2)
Substitution method
4x - x + = 50
- x = 50 - = -
Substitute the value of x in equation (1)
3( ) - y = 40
- y = 40
y = - 40 =
∴ Total number of questions = + =