Carol ate 2/5 of the cake; Dima ate 3/8 of the remaining cake, mom ate the rest.
How much did Dima and mom ate together?