I was trying to see whether we could find a James Gordon b. Huntly c. 1858 on the censuses. No sign of him under Gordon.....but there is this entry:
Ann Cuthbert Morrison 73 b. Drumblade, Aberdeenshire
Mary C Morrison 38, daughter, Prevates Teacher Of English Seading (as transcribed!) b. Drumblade, Aberdeenshire
Mary I Inglis 5, boarder b. Huntly
James Gammie 3, boarder b. Huntly
Address: Loangerrie, Drumblade, Aberdeenshire
I am going to speculate here

There are three children showing in Huntly as born to a Mary Gordon:
Mary Jane and George Gordon - twins born on 5 July 1855 and then the birth of a James Gordon on 25 Feb 1858.
Could the Mary I. Inglis in the above 1861 entry be perhaps a Mary
J. Inglis I wonder on the original image. Not uncommon for illegitimate children to be registered at birth under the surname of the mother and then go by the name of the reputed father in later years. Might also explain for James the use of the surname Gammie.
If we do have the right entry for James above, likely he (and perhaps sister?) were looked after whist mother was working?
Just theories though at this stage
