" Bag A contained twice as many pens as bag B."
Bag A → 2u Bag B → 1u
"In bag A, 1/5 of the pens were red pens."
Bag A red pens → 1/5 x 2u = 2/5u
"In bag B, 1/3 of the pens were red pens."
Bag B red pens → 1/3 x 1u = 1/3u
total red pens → 2/5u + 1/3u = 6/15u + 5/15u = 11/15u
total Bag A + Bag B → 2u + 1u = 3u
fraction of red pens → total red pens ÷ total (Bag A + Bag B) = 11/15 ÷ 3 = 11/15 x 1/3 = 11/45