Step 2 of 10 of the walkthrough. You do not need the structure. For a formula of carbon and hydrogen only, DBE = C − H/2 + 1, so C6H10 gives 6 − 5 + 1 = 2. Every formula that reads 2 carries those two units and nothing else. Which two it carries is the structure’s business, not the formula’s.
It opens on C6H10, with the calculator under it, so the arithmetic of this step is on screen while you read it.
A degree of unsaturation is rings plus pi bonds. Read it off a molecular formula, count it off a structure you draw, and compare the two: they part company whenever sulfur or phosphorus is drawn beyond the valence the formula assumes. The tool needs JavaScript; these are the pages it offers: