Both of these are present as molecules of two atoms bonded together. The word formulae is the plural of the word formula. If we're talking about more than one formula, we usually say formulae.