2.5 g of a hydrate barium salt gave on heating, 2.13 g of the anhydrous…