The clues outside the grid indicate the numbers to be placed in the cells before and after the cell containing 9 (in any order) in the corresponding direction.