Numbering heteroatoms and groups in benzene derivatives
Quaternary carbon atoms i.e. Those with no hydrogen atoms attached and in these examples, the ones that are common to both or all rings, are not counted. Try it with 1,8-dihydroxynaphthalene. Both OH groups should be pointing in the same direction.

In your examples, as you probably know, the heteroatom is numbered first.