A trail mix contains peanuts, chocolate pieces, and raisins. There are twice as many raisins as chocolate pieces. There are 20 less peanuts than raisins. In total, the mix contains 200 trail mix pieces. Write an equation in terms of r (the number of raisins) to represent this situation.

I just need an equation then i can solve. Thank you!!!!!!

Let peanuts = p, chocolate = c and raisins = r

p = (r-20)
c = (r/2)
r = r
Equation is (r-20) + r/2 + r = 200
Take it home from here :) GL
Need help? Ask!

To represent this situation, we need to express the quantities of peanuts, chocolate pieces, and raisins in terms of the number of raisins, denoted by 'r'.

Let's break down the given information:

1. There are twice as many raisins as chocolate pieces:
Since the number of raisins is twice as many as the number of chocolate pieces, we can express this as: r = 2c, where 'c' represents the number of chocolate pieces.

2. There are 20 less peanuts than raisins:
If we assume 'p' to represent the number of peanuts, then we know that p = r - 20 (because there are 20 less peanuts than raisins).

3. In total, the mix contains 200 trail mix pieces:
The total number of trail mix pieces is the sum of the quantities of peanuts, chocolate pieces, and raisins, which is given as 200. Therefore, we have p + c + r = 200.

Combining these equations, we can express the situation in terms of 'r' as follows:
(r - 20) + c + r = 200

Simplifying the equation, we get:
2r + c = 220

Thus, the equation in terms of 'r' to represent this situation is 2r + c = 220.