Question 10
Mervin may paint the four walls and ceiling of his rectangular bedroom as he wishes. Each surface is painted in one of three colours, red, white and green, and no two adjacent surfaces may have the same colour. How many different ways can he paint the room?