I don’t know from the picture which row is which (maybe I could tell if I look real close). I’d suggest follows the connection traces from the pot pins to surrounding components, and match it up the the schematic.
You can do this visually just by looking at the pcb traces, or use a multimeter with the “beep” setting.
You can do this visually just by looking at the pcb traces, or use a multimeter with the “beep” setting.