By applying Kirchhoff's law
C1(8−V)+C2(2−V)+C3(−5)=0
2(8−V)+2(2−V)−10=016−2V+4−2V−10=0
⇒V=104=2.5Volts
q1=C1(8−2.5)=2(8−2.5)=11μC
q2=12(2−2.5)=1μC
q3=2(5)=10μC
A part of the circuit is shown in the figure. All the capacitors have capacitance of 2μF.