for that use valence bond theory ie first write the configguration of the central ion or metal and the according to crystal field splitting and spectrochemical series check whether pairing will take place if so then pair up the electrons and use the empty d orbitals and the next or previous s and p for hybridisation

complexs are formed due to synergic effect!!!!
any further doubt, i would be pleased to answer!!!
