Answer:
240 marbles.
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
[tex]R+B=N[/tex]Furthermore, we also know that there are 160 blue marbles, meaning B = 160:
[tex]R+160=N[/tex]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:
[tex]\frac{1}{3}N=R[/tex]Since N = R + 160, the above becomes
[tex]\frac{1}{3}(R+160)=R[/tex]Multiplying both sides by 3 gives
[tex]3\times\frac{1}{3}(R+160)=R\times3[/tex][tex]R+160=3R[/tex]subtracting R from both sides gives
[tex]R+160-R=3R-R[/tex][tex]160=2R[/tex]Finally, dividing both sides by 2 gives
[tex]R=\frac{160}{2}[/tex][tex]\boxed{R=80.}[/tex]Hence, there are 80 marbles in the box.
Therefore, the total number of marbles in the box is
[tex]\begin{gathered} R+B=N \\ 80+160=N \\ \end{gathered}[/tex][tex]\boxed{N=240.}[/tex]The total number of marbles in the box is 240.