$35 / $9.99 = 3.5 pairs of shorts
We have to round down because you cannot buy half a pair of shorts
The correct answer is 3 pairs of shorts.
We need to find the probability of the card chosen at random is yellow or brown.
So, since there are 3 yellow cards and 7 brown cards, the total numbers of cards that are yellow or brown is:

Now, the probability that the chosen card is yellow or brown can be found by dividing the above value by the total number of cards in the box.
The total number of cards in the box is:

Thus, that probability is given by:

Therefore, the answer is:
The answer would be 25/9 as a improper fraction