When two conductors of capacities C1 and C2 and potentials V1 and V2 are connected by a conducting wire, charge redistributes in these conductors till potential of both the conductors become equal, known as common potential.
Common potential = total capacity net charge
i.e, V=C1+C2q1+q2
or V=C1+C2C1V1+C2V2