Oops, I should have written a-b of course. The positive difference between these two measurements gives the amount of water evaporated.
About the difference, 0.041 moles of water is present in this compound, namely CoCl_2 \cdot xH_2O. The molar amount of the initial compound is not known, but we may consider that 0,88 grams of CoCl_2 is present, you can find the molar mass from Co:58.93 and Cl:35.45 grams/mol. You then set up a proportion equation to find how many moles of water are present in one mole of CoCl_2. This will give \displaystyle x you're looking for.
I recommend that you use greater amounts of salt and multiple determinations to minimize errors. For example, do the analysis triplicate at one time and use at least 5 or 10 grams of sample, then average the findings you obtained. This will be better.