A and B react together in this reversible reaction. A + 3B --> C + 2D. A mixture of 10 mol of A and 10 mol of B were left to reach equilibrium. The equilibrium mixture contained 4 mol of B. What is the total amount, in moles, of substances in the equilibrium mixture?