How are molecular shapes determined?
How else but by experiment.......??
Chemistry and physics are experimental sciences. You do the experiment, and then you come up with some theory to explain what you find. You do not explain your findings before you get the experimental result.
Molecular geometry can usually be explained on the basis of