The new marriage law, how to divide the divorce property?

The segmentation method is as follows:

Houses are donated by parents after marriage and registered in the children's names, which belong to the children's personal property, and the real estate purchased by both parents is registered in the name of one child. If the property right is registered in the name of a child, the property can be recognized as shared by both parties according to their respective parents' share of capital contribution, unless otherwise agreed by the parties. During the marriage relationship, the property donated by parents to their children is regarded as the joint property of husband and wife, except that it is clearly determined in the gift contract that it belongs only to the husband or wife.