Final answer:
There is no solution for the number of Jolly Ranchers Tanya put in the goody bags.
Step-by-step explanation:
Let x represent the number of Jolly Ranchers Tanya put in the goody bags. Since there are 57 more Jolly Ranchers than Mini Twix, the number of Mini Twix is x - 57. In each bag, Tanya puts 7 Jolly Ranchers and 4 Mini Twix. So, the total number of Jolly Ranchers is 7 times the number of bags, which is 7x, and the total number of Mini Twix is 4 times the number of bags, which is 4(x - 57). Since the total number of Jolly Ranchers is 57 more than the total number of Mini Twix, we can set up the equation 7x = 4(x - 57) + 57 to solve for x.
Simplifying the equation gives us 7x = 4x - 228 + 57. Combining like terms, we have 7x = 4x - 171. Subtracting 4x from both sides of the equation gives us 3x = -171. Finally, dividing both sides of the equation by 3 gives us x = -57.
However, since we are dealing with the number of Jolly Ranchers, which cannot be negative, this solution is not valid. Therefore, there is no solution for the number of Jolly Ranchers Tanya put in the goody bags.