Core Logic
XF₃$XF_3$ acts as a Lewis acid, meaning it is an electron-deficient species capable of accepting an electron pair. A common example from the p-block is BF₃$BF_3$. The central Boron atom has 3 bond pairs and 0 lone pairs. Therefore, its steric number is 3, corresponding to sp²$sp^2$ hybridization.
YF₃$YF_3$ acts as a Lewis base, meaning it has an available lone pair to donate. A common example is NF₃$NF_3$. The central Nitrogen atom has 3 bond pairs and 1 lone pair. Its steric number is 4, corresponding to sp³$sp^3$ hybridization.
Step 1: Final Conclusion
The hybridization of X and Y respectively are sp²$sp^2$ and sp³$sp^3$.
Pattern Recognition
Electron deficient central atoms (Group 13) form sp²$sp^2$ planar molecules. Atoms with a lone pair (Group 15) form sp³$sp^3$ pyramidal molecules.
Chapter Mix
Class 11 Chemistry: Chemical Bonding and Molecular Structure
Class 11 Chemistry: p-Block Elements