So 4x-(25-x)=85.
The solution is x=22,
So 4x-(25-x)=86.
The solution is x=22.2, because x is an integer, so it does not meet the meaning of the question.
So, he answered 22 questions correctly.