One
red flag, three white flags and two blue flags are arranged in a line such
that,
(A)
no two adjacent flags are of the same colour
(B)
the flags at the two ends of the line are of different colours.
In
how many different ways can the flags be arranged
The three white flags can be arranged in the
following two ways: __ W __ W __ W or W __ W __ W __ In the blanks, the 2 blue
and one red flag can be arranged in 3 ways. So, the total number of
arrangements 2*3 = 6