Hello!
As we can see, they sell 2/5 as many white milks and chocolate milks. We can write this as the ratio 2:5. As you can see, we are given the total, which is 35. The total of the ratio in simplest form is 7 (2+5). As you can see, we have to multiply by 5 to get that 7 to 35. Therefore we multiply each part of the ratio by 5 to get our final answer. We can have w represent the white milks while c represents the chocolate milks.

ยท

=
Therefore there were 25 chocolate milks sold (just to verify 10 is 2/5 of 25).
I hope this helps!