The correct substances that are compounds from the list provided are:
- Carbon dioxide (CO2)
- Sodium chloride (NaCl)
- Methane (CH4)
Hydrogen gas (H2) and magnesium (Mg) are elements, while potassium (K) is also an element.
Thus, the substances that are compounds are CO2, NaCl, and CH4. The correct response would be:
CO2, NaCl, and CH4.