In a bag of candy, there are five red candies for every two green candies. If there are 35 total candies in the bag, which of the following is the total number of green candies in the bag?

A.5

B. 10

C. 20

D. 25

out of every seven candies 5 are red and 2 are green

so out of 5*7 = 35 candies
5*5 = 25 are red
and
5*2 = 10 are green
B.

To determine the total number of green candies in the bag, we need to find the ratio between the red and green candies. The given information tells us that there are five red candies for every two green candies. Let's do some calculations:

1. Calculate the total number of parts in the ratio: 5 (red candies) + 2 (green candies) = 7 parts in total.

2. Calculate the value of one part: The total number of candies in the bag is 35, so each part represents 35 divided by 7 = 5 candies.

3. Calculate the number of green candies: Since one part represents 5 candies, two parts (representing the green candies) would be 2 * 5 = 10 candies.

Therefore, the correct answer is B. 10 green candies.