What is the general formula for a hydrate?

MX.zH2O