1) let there be N 8 problem sections and M 12 problem sections
How many total sections are there?
So what does N + M equal?
How many problems are in the N 8 problem sections total?
How many problems are in the M 12 problem sections total?
The sum of these two numbers is the total number of problems, i.e. 132.
Now solve these two equations for N and M
For (2) apply the same sort of thinking as in (1)