When they had finished everything they were required to do according to the law of the Lord
"When Joseph and Mary had finished doing everything the law of the Lord required them to do"
their own town of Nazareth
"the town of Nazareth, where they lived"