Father's grandparents-great grandparents.
Father's grandparents-great grandparents.
Mother's grandparents-great grandparents.
Mother's grandparents-great grandparents.
The explanation is as follows:
My father's grandparents are in-laws. According to the tradition in China, they have the right to offer sacrifices to you, and you have the obligation to offer sacrifices to them.
Father's grandparents are called great-grandparents because they are foreign names after all, but their daughter, your grandmother, is also entitled to enjoy the sacrifice of you and your descendants, so she is the great-grandparents of the second family.
Although my mother's grandparents have the right to enjoy her mother's sacrifice to them, my mother is not as good as the man to them after all, and you have no obligation to sacrifice to them, so you are the third relative.
Mother's grandparents are farther apart in blood relationship. First of all, your mother married you under a different surname. Secondly, your grandmother doesn't have the same surname. Her family is very distant from you, so they are called great-great grandparents. If so, they will be called grandparents or grandparents, and in most cases they will be called grandparents.