So you start with a value in moles. You are trying to go from mole of nitrogen trifluoride to Fluorine. What is the mole to mole ratio (or coefficients) of the 2 species. 2NF3(g) and 7F2(g) so 2:7
5.900mol NF3 x 7moles F2 = moles of F2
2 moles NF3
You need to cancel out moles of NF3 to cancel out so one value must be a numerator and the other must be a denominator