Put the letters from 'A' to 'E' into the fields of the diagramm. Same letters may not touch, not even diagonally. The numbers at the borders tell you the number of occurences of the corresponding letter in that row or column.