The shape of a molecule is determined by the arrangement of its atoms in space. The arrangement of atoms is influenced by the number of bonded electron pairs and the number of non-bonded electron pairs around the central atom. Based on this information, the shapes of the molecules are:
- CO2: linear
- H2O: bent
- CH4: tetrahedral
Therefore, the correct answer is bent, tetrahedral, and linear, respectively.