Assume three caps designated c1 = 1 farad, c2 = 2 farads, and c5 = 5 farads are connected in series across 8 volts. The caps have no initial voltage. Since Q = C V, and the same imbalance of Q is present in all caps in series, the voltage equation will then be;
x/1+x/2+x/5==8 -----> 10x+5x+2x...