The potential of the capacitor is given as
C=qV
Then by using the above formula we can calculate the potential on first capacitor
V1=30μC5μF
Similarly
V2=50μC10μF
The common potential is given as
C1V1+C2V2=V(C1+C2)
The common potential is given as
3×10−5+5×10−5=V(15×10−6)
V=0.533V