a bag of candy contains jolly ranchers and starbursts. the number of jolly rancheres is 3/5 of the number of starbursts. if there are 120 pieces of candy altogether, how many jolly ranchers are there.

j + s = 120

but j = 3/5 s
so 3/5 s + s = 120
times 5
3s + 5s = 600

solve for s, then j

To find the number of Jolly Ranchers in the bag, we can set up an equation using the given information.

Let's assume the number of Starbursts in the bag is represented by the variable "x."

According to the problem, the number of Jolly Ranchers is 3/5 of the number of Starbursts. So the number of Jolly Ranchers can be represented as (3/5)x.

We also know that the total number of candy pieces in the bag is 120. This includes both Jolly Ranchers and Starbursts, so we can set up the following equation:

(3/5)x + x = 120

To solve this equation, let's first clear the fraction by multiplying through by 5:

5 * (3/5)x + 5 * x = 5 * 120
3x + 5x = 600
8x = 600

Now, solve for x by dividing both sides of the equation by 8:

x = 600/8
x = 75

Therefore, there are 75 Starbursts in the bag.

To find the number of Jolly Ranchers, we can substitute this value back into our expression:

(3/5)x = (3/5) * 75
= 45

So, there are 45 Jolly Ranchers in the bag.