Valency. II. Applications to molecules with first-row atoms