9434 - African Magic Puzzle

Arrange cards with the heads and tails of the same colour matching. The nine cards must form a square.