Initially when key K is open, the lower cell is not making any difference.
Hence we can ignore that part.
C2 and C1 are in series combination.
We know that whenever 2 or more capacitors are in series, then total capacitance is given by 1C=1C1+1C2
∴C=C1C2C1+C2
E1C1=E2C2=Q2 and E=E1+E2
Whenever a capacitor is connected to a D.C. source such as a cell, current never flows through the circuit. This is because a capacitor applies infinite impedance to DC.
However the capacitors get charged and remain as it is.
We know that Charge Q accumulated in a capacitor is given by Q=CE
Q2=E×C1C2C1+C2
Now when the Key is pressed, the C1 will get an additional charge of EC1.
Hence the total charge on C1 is EC1+E×C1C2C1+C2=EC1(1+C2C1+C2)
Answer:- Charge flowing through section 2 is Q2=E×C1C2C1+C2
Charge flowing through section 1 is EC1(1+C2C1+C2)