Question 30Each side of a pentagon ABCDE is coloured by one of the three colours: red, yellow or blue. In how many different ways can we colour the 5 sides such that any two adjacent sides have different colours?