Answer:
Let p be the number of pounds of pretzels and c be the number of pounds of cereal. We can set up the following system of equations to represent the given information:
p + c = 12
1.5p + 3c = 24
Solving this system using elimination, we find that p = 6 and c = 6. Thus, Matthew should use 6 pounds of pretzels and 6 pounds of cereal.