Doubt from Chemical Bonding

Bond length of O–F ; O2F2> OF2.
I have solution for this results,


But,I am unable to get the explanation.
Please explain me the solution(how percentage p character is more or less identified)?

Look up Bent's rule