I need help ASAP I shall give brainlyist (idk how to spell) figure out how much A cand hold and how much B can hold

I need help ASAP I shall give brainlyist idk how to spell figure out how much A cand hold and how much B can hold class=