Start with %, 54.3 is fluorine, so 45.7 is oxygen
Divide each % by the relative mass of each
You should get 2.85 for F and 2.85 for O
There in a ratio of 1:1 so you know the empirical formula is just FO
As for molecular formula it would be F2O2 as the molecular mass of that molecule = 70