How to determine skeins of yarn needed for a project

I have a easy crochet pattern but the materials portion is complicated.
(100% acrylic; 6oz/170g, 315yds/288m):
18 (24,24,30,30) oz (A)

(100% acrylic; 3oz/85g, approx 150yds/137m ball):
9 (9,12,12,12) oz (B)

Can someone help me figure out how much yarn I need for this project? There are 5 sizes. S (M,L, 1X,2X) I need yarn for size M.
Thanks in advance

Forums: