What is $R_f$ of B in the following reaction?

1 g of \( XY_2 \) is dissolved in 20 g of \( C_6H_6 \). The \( \Delta T_f \) of the resultant solution is 2.318 K.
When 1 g of \( XY_4 \) is dissolved in 20 g of \( C_6H_6 \), its \( \Delta T_f \) is found to be 1.314 K.
What are the atomic masses of X and Y respectively?
(\( k_f \) of \( C_6H_6 \) is 5.1 K kg \( mol^{-1} \))