At a certain temperature, the solubility of the salt Mm An in water is 's' moles per litre. The solubility product of the salt is
Mm An
(m+n)sm+n
mmnnsm+n
MmAns.
AlSo, m x = n X y; charge conservation
Ksp = mm nn Sm+n