The ratio is denoted by the symbol ':' and we write it by putting the larger number first, then ':' and finally the lesser one.
In the case of our problem:
[tex]8\colon5[/tex]That's the answer to the question.
However, there are other ways to write the ratio. For example, as a fraction:
[tex]\frac{8}{5}=1.6[/tex]This means that for every apple, Sarah bought 1.6 oranges.