Given:
7 red candies
9 blue candies
12 pink candies
Condition:
Number of bags that has equal number of candies.
We can do 7 bags with 1 colored candy each. There will be an excess of 2 blue candies and 5 pink candies.
We can do 4 bags with 1 red candy, 2 blue candies, 3 pink candies. There will be an excess of 3 red candies and 1 blue candy.
We can do 3 bags with 2 red candies, 3 blue candies, 4 pink candies. There will be an excess of 1 red candy.
Answer:
This can be expanded to x⁴ - 6x²
Step-by-step explanation:

It is 5,250. 35% percent of 15,000 is 5,250 which is the answer