Three different doctors on the page and a different three on the page with John's brother's death.
I was stuck with Charlestown until I realised it was pob for a son.
Seems some 1831 Dunfermline records have been lost. I could not find a birth/baptism on fiche in Dunfermline library for Adam:
30 March 1851 Census - Parish of Dunfermline - East Port St
Age Occupation Book Sched
James Sands Head 64 Sawyer Fife Torryburn 10B 80
Elisabeth Wife 63 Perth Culross
Adam Son 20 Weaver Fife Dunfermline