Let C1 and C2 µF be the capacitances of the capacitors A and B respectively. When the capacitors are connected in series [See Fig. 5.31 (i)], charge on each capacitor is the same.
When a 3 µF capacitor is connected in parallel with B [See Fig. 5.31 (ii)], the combined capacitance of this parallel branch is (C2 + 3). Thus the circuit shown in Fig. 5.31 (ii) can be thought of as a series circuit consisting of capacitances C1 and (C2 + 3) connected in series.
Solving eqs. (i) and (ii), we have, C1 = 3.6 µF; C2 = 5.4 µF