X - pounds of the M&M`s; y - pounds of the peanuts x + y = 30 3 x + 2 y = 74 ---------------------- y = 30 - x 3 x + 2 ( 30 - x ) = 74 3 x + 60 - 2 x = 74 x = 74 - 60 x = 14 Answer: They bought 14 pounds of M&M`s.
<span>How many ways are there to distribute n distinct balls into r boxes (a box can contain any number of balls, ranging from zero (none) all the way to all n balls.</span>