Ok, so you are basically finding a solution of equations.
x + y = 15, since there are 15 questions.
5x +10y = 100, since the maximum number of points is 100
Now what you do is change the equations to slope intercept form, which changes to y = -x+15
and y = 1/2x + 10
I assume you can graph these?