Use two equations in two variables to solve the problem.
A merchant wants to mix peanuts and cashews, as shown in the illustration, to get 42 pounds of mixed nuts that will be sold at $6 per pound. How many pounds of each should the merchant use?