what you do is you consider the first strip - its colour can be chosen out of all possible $4$. once you chose the colour of the first one you only have $3$ choices for the second one - cause it can't be the same which gives you $4 \cdot 3$ possibilities for the first two stripes. continuing this way you end up with $4 \cdot 3^5$ ways