Answer:
Let a be the number of marbles in box A.
Let b be the number of marbles in box B.
Total = a + b.
Now let's set up a system of equations using the information we know.
[tex]\frac{a}{b}=\frac{3}{5}[/tex]
A = B - 10.
Solving:
[tex]\frac{b\ -10}{b}=\frac{3}{5}[/tex]
[tex]b\ -10=\frac{3}{5}b[/tex]
[tex]\ -10=\frac{3}{5}b-b[/tex]
[tex]-10=\left(\frac{3}{5}-1\right)b[/tex]
[tex]\ -\frac{10}{\left(\frac{3}{5}-1\right)}=b[/tex]
b = 25, a = 15.
Total = 40.