Note that green bags must hold <span><span>14</span><span>14</span></span><span> of the balls (as we divided them, by color, in the ratio 3:1). Thus there are </span><span>1414</span><span> balls in the green bags, hence </span><span>4242</span><span> in the red bags.</span>