If we're referring to mass - you would require the following:
15g of A
15g of B.
So, 1.5 boxes A, 3 boxes B.
If we're talking about volume, 20g A and 10g B.
7.6m questions
10.2m answers