Answer:
31 Pikachu bags were sold.
19 peanut bags were sold.
Explanation:
Let's set up an equation of the total revenue of the day, where x is the number of Pikachu's sold.
We know that the number of Peanuts sold is 50-x (as the total needs to be 50)
We know that the total revenue is:
Number of Pikachus * Cost per Pikachus + Number of Peanuts * Cost per Peanuts
Using our definitions above:
Total Revenue = x * $3.68 + (50-x) * $0.76
We know that the revenue needs to be $128.52.
$128.52 = x * $3.68 + (50-x) * $0.76
Let's remove the $ signs.
128.52 = x * 3.68 + (50-x) * 0.76
Multiplying both 50 and -x with 0.76, "expanding" the parenthesis.
128.52 = x*3.68 + 50*0.76 - x*0.76
128.52 = x*3.68 + 38 - 0.76*x
Subtracting 38 from both sides
90.52 = 3.68*x - 0.76*x
We can simplify the right side.
90.52 = 2.92*x
We can divide both sides by 2.92:
31 = x
And flip it:
x = 31
So 31 Pikachus were sold (remember we claled that x), and as we know, the number of peanut bags sold is
50-x = 50-31 = 19
31 Pikachu bags were sold.
19 peanut bags were sold.