Tony had an equal number cranberry bars and walnut bars. He gave away 66 cranberry bars. He then had 4 times as many walnut bars as cranberry bars left. How many bars did he have at first?

Let:

x= # of Cranberry Bars
y= # of Walnut Bars

x=4y-66

The problem states that there are equal # of cranberry bars to walnut bars. So, y=x

x=4x-66

Solve for x will give you 22 (which is the number of cranberry bars+walnut bars Tony had after he gave away 66)

So 22+66 = 88 bars

Solve for x
x= -22

This problem does not answer the actual question, "How many bars did he have at first?"

if it takes that much effort than ill get my but out of here. i got this question for 5th grade like why x and y and 4x and WHATEVER why does math have to be like this.

This solution does not answer the actual question, "How many bars did he have at first?" Shouldn't it also include the total of CB+WB?

How did you get 22

To solve this problem, let's go step by step:

Let's assume that Tony had x cranberry bars and x walnut bars at the beginning.

After giving away 66 cranberry bars, Tony was left with x - 66 cranberry bars.

According to the problem, he had 4 times as many walnut bars as cranberry bars left. So, the number of walnut bars would be 4 * (x - 66).

Now, we need to find the value of x, which represents the original number of bars Tony had.

Since Tony had an equal number of cranberry and walnut bars, we can set up an equation:

x = x - 66

Simplifying the equation, we get:

0 = -66

This equation has no solutions, which means there is no value of x that satisfies the given conditions. Therefore, it is not possible to determine the original number of bars Tony had.