Two blue flags, two red flags and four white flags are arranged in a line such that,
i] the flags at the two ends of the line are of the line are of different colours.
ii] no two adjacent flags or of the same colour.
In how many ways can this be done?
1. 8
2. 12
3. 16
4. 20