Put the letters from 'A' to 'D' into the fields of the diagramm. Same letters may not be horizontally or vertically adjacent. The numbers at the borders tell you the number of occurences of the corresponding letter in that row or column.