The 1841 census does not show marital status but this looks like Mary with the children (at her parents?):
William Gibson 60 lab b. Ireland
Isabella Gibson 30 b. Ireland
Mary Mckie 25 b. Ireland
Isabella Mckie 4
William Mckie 2
Alex Mckie 6 Months
Address: Main St, Stewarton Ayrshire
Monica