Put the letters from 'A' to ... 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.
Example with the letters 'A' to 'E'.