A game designer must decide how to color five buildings that are in a row. Using only the colors yellow, green, red, and blue, each building must be painted with exactly one color. Any two neighboring buildings must be different colors, and the first, third, and fifth buildings must be different colors. How many ways are there to paint the five buildings?

Answer :

Answer:

20

Step-by-step explanation:

Yellow, Green, Red, Green, Blue

Yellow, Red, Green, Red, Blue

Yellow, Blue, Red, Blue, Green

Yellow, Blue, Green, Blue, Red

5x4 = 20 because those are all the possible ways with yellow as the first building color, so there are 4 possible ways with yellow being in front, meaning all five of the colors have 4 possible ways of being in front. so 5x4=20

Answer:

84

Step-by-step explanation:

84 cause there will be 108 ways - 24 ways

Other Questions