Between a number $5$ and $10$ on a number line,exclusive , a dark gray tick mark is placed at every multiple of $\frac{1}{3}$ and a light gray tick mark is placed at every multiple of $\frac{1}{9}$. At how many places will a dark gray tick mark and light gray tick mark overlap?
I can't see the systematic way of solving this. Can anyone provide a systematic way of approaching such a problem? The book I have its solution is not handy.

Every multiple of $\frac{1}{3}$ is also a multiple of $\frac{1}{9}$. Thus, there will be overlap at every multiple of $\frac{1}{3}$, of which there are $((10 - 5) * 3) - 1$ (Three greater than each of $5,6,7,8,9$, less the one mark at $10$.)
This gives a total of $14$.