The correct option is B y>x
Fluorine is an electron negative element so as per bent's rule more electronegative element will have less % s- character therefore B−B bond will have more % s- character and shorter bond length.
Similarly, in B2Cl6 chlorine is less elelctronegative hence will have more % s charecter hence the B−B bond angle will have less % s character and hence longer bond length.
The side atom in the 1st case is F which is more electronegative than the side atom chlorine in the 2nd case.