We are given that the total points of the test is 150. If "x" is the number of questions worth 5 points and "y" the number of questions worth 8 points then the total number of points is:
We are also given that the total number of questions is 24, therefore, we have:
Therefore, the system of equations that can be used to solve for each type of question is: