Given:
Total points =100
Let, x= number of 2 point questions.
y= number of 4 point questions.
There are 40 questions
This we can write,
[tex]x+y=40\ldots\text{.}(1)[/tex]Since, the test is worth 100 points. this can be written as,
[tex]2x+4y=100\ldots\text{.}\mathrm{}(2)[/tex]Equation (1) can be written as,
[tex]x=40-y[/tex]Put the value of x in the equation (2),
[tex]\begin{gathered} 2(40-y)+4y=100 \\ 80-2y+4y=100 \\ 2y=100-80 \\ y=\frac{20}{2} \\ y=10 \end{gathered}[/tex]Now put the value of y in equation (1),
[tex]\begin{gathered} x+y=40 \\ x+10=40 \\ x=30 \end{gathered}[/tex]So, the number of 2 point questions are x=30
and number of 4 point questions are y=10