The molecules having square pyramidal geometry are:
\( \mathrm{BrF_5} \) & \( \mathrm{PCl_5} \)
\( \mathrm{SbF_2} \) & \( \mathrm{XeOF_4} \)
\( \mathrm{BrF_5} \) & \( \mathrm{XeOF_4} \)
\( \mathrm{SbF_5} \) & \( \mathrm{PCl_5} \)