9 cards are there. You have to arrange them in a 3*3 matrix. Cards are of 4 colors. They are red, yellow, blue and green. Conditions for arrangement: one red card must be in first row or second row. 2 green cards should be in 3rd column. Yellow cards must be in the 3 corners only. Two blue cards must be in the 2nd row. At least one green card in each row.
Y R G
B B G
Y G Y