I couldn't figure out the math level either. A visual grid would have been nice, since it seems the grid locations are not square