When switch is open, capacitors (6,3) on left are in series and capacitors (3,6) on right series.
Thus, potential across each 3μF is V3=63+6(200)=4003V
and potential across each 6μF is V6=33+6(200)=2003V
Charge on each 3μF is q3=3×4003=400μC and charge on each 6μF is q6=2×2003=400μC
When switch is closed, top capacitors (6,3) are in parallel and bottom (3,6) capacitors are in parallel and these group are in series. i.e, 9μF and 9μF are in series.
Voltage across 9μF is V9=99+9×200=100V
As top capacitors (6,3) are in parallel so V9 is also potential across each capacitors.
now, q′3=3×100=300μC and q′6=6×100=600μC
thus, Δq3=400−300=100μC and Δq6=600−400=200μC
Net charge flow through switch is Δq=Δq3+Δq6=100+200=300μC