contestada

A 1Ă—6 square unit rectangular grid has to be covered with six 1Ă—1 square unit tiles. Three of the tiles are yellow, two are white, and one is blue. In how many ways can this task be done if:
a) there are no restrictions
b) no two neighboring tiles should be the same color
c) at least one pair of neighboring tiles are the same color