Dominic and Emily went on a trip with a total of $594. After Dominic had spent 3/5 of his money and Emily spent 2/3 of her money, they each had an equal amount of money left. How

much money did they have left altogether?

.....