To know the subscript when writing the chemical formula, take note of the prefixes in the chemical name. In this example, di-means 2 and tetra- means 4. That means, the compound consist of 2 nitrogen atoms and 4 fluorine atoms. That is written as N₂F₄. Thus, the subscript is 4.