If you have to divide a fraction by a whole number convert the whole number to a fraction. Any whole number's fraction counterpart is just adding a 1 as the denominator.
Example: 5 = \(\frac{5}{1}\)
If you have to divide a fraction by a fraction, just flip the second number and multiply.
Example: \(\frac{10}{8}\) divide \(\frac{5}{8}\)
\(\frac{10}{8}\) mulitply \(\frac{8}{5}\)
There you go!
Hope this helps,
~Starry