Each pill is numbered 1 to N (Where N is the width of the grid, so 8 squares along = 8 pills)
The pills sit either horizontally or vertically in the grid, and are exactly 3 squares in length.
The numbers at the side display the totals of all of the squares that contain pills in that row..!