This looks like the family:
1841
Markinch, Fifeshire:
Name: William Thomson
Age: 45
Estimated birth year: abt 1796
Gender: Male
Where born: Scotland
Civil Parish: Markinch
County: Fife
Address: Eglinton Square
Occupation: Paper Maker
Parish Number: 447
Household Members: Name Age
William Thomson 45
Margaret Thomson 40
John Thomson 18
Frances Thomson 15
Joseph Thomson 12
Margaret Thomson 10
James Thomson 9
Jean Thomson 3
note:
Jean age 3 b Isle of Man
*******
It seems likely that Margaret was William’s second or third wife.
Mary was a 16 yr old FS in Lonan.
Jean