Carol ate 2/5 of the cake; Dima ate 3/8 of the remaining cake, mom ate the rest. What fraction of the whole cake did mom eat?