Question:
Ethan and Daniel have some marbles. If Ethan gives Daniel 16 marbles, both of them will have an equal number of marbles. If Daniel gives Ethan 9 marbles, the ratio of the number of marbles Ethan has to the number of marbles Daniel has will be 6 : 1. How many marbles do the two boys have altogether?

Solution:
