Answer:
240 marbles.
Step-by-step explanation:
Let us call R the number of red marbles, B the number of blue marbles, and N the total number of marbles. Then we know that

Furthermore, we also know that there are 160 blue marbles, meaning B = 160:

We also know that the probability of getting a red marble is 1 / 3, meaning 1 /3 of the total number of marbles is red:

Since N = R + 160, the above becomes

Multiplying both sides by 3 gives


subtracting R from both sides gives


Finally, dividing both sides by 2 gives


Hence, there are 80 marbles in the box.
Therefore, the total number of marbles in the box is


The total number of marbles in the box is 240.