12 g of solid protassium chlorate (KCIO) were added to 40 g of water and…