Answer:
Total number of ways are
Step-by-step explanation:
Red balls can only be placed at alternate spots.
This can be done in two different ways, by starting at spot one and by starting at spot two.
Now, yellow green balls can be placed in the intermediate spots.
It can be done in following ways:
So, total number of ways are=
Learn more about permutation:
brainly.com/question/4546043?referrer=searchResults