Nathan’s Boy Scout troop is making M&M and peanut trail mix for a future hike. The M&M’s cost $3 per pound and the peanuts cost $2 per pound. The Boy Scouts spend $74 to make 30 pounds of trail mix. How many pounds of M&M’s did they buy?