The adjacent figure has six compartments. Each compartment consists of six squares. These squares are to be filled with six different colours in such a way that each row, each column and each compartment should have all six colours. Which of the options will replace the question marks?