Weighed salts Y and Z were left exposed in the laboratory overnight. In the morning…