The children of my first husband

A: the children of your stepfather, who are not your mother's children, are Mahrams to your mother, and likewise are their grandchildren, whether they were born before or after his marriage to your mother. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.