Taking potential at reference node O as VO=0 V. Let the potential of the upper junction node be Vx.
Potentials at the outer nodes determined by the batteries:
Left outer node potential: Vleft=6 V
Right outer node potential: Vright=−6 V
Applying charge conservation at node Vx: C1(Vx−Vleft)+C2(Vx−VO)+C3(Vx−Vright)=0
2(Vx−6)+5(Vx−0)+4(Vx−(−6))=0
2Vx−12+5Vx+4Vx+24=0⟹11Vx+12=0⟹Vx=−1112 V
q=C2∣Vx−VO∣⟹q=5×−1112−0=1160≈5.45 μC