Draw a single continuous loop along the gridlines in the diagram. The numbers in each cell indicate how many of that cell's edges are used by the path. The path cannot cross or touch itself.
Grid control: Click the mouse button at the selected cell to change the filling of the cell. More details about grid control are at the help page.