Given data:
The points obtained after getting correct answer is c=150.
The points losses after getting incorrect answer is i=250.
The expression for total questions is,

The expression for total marks is,

Substitute (20-c) for i in the above expression.

The numbers of incorrect questions are,

Thus, the numbers of correct questions are 13, and numbers of incorrect questions are 7.