Louise's family traveled 3 10 of the distance to her grandmother's house on Saturday. They traveled 4 7 of the remaining distance on Sunday. What fraction of the total distance to her grandmother's house was traveled on Sunday?