A general formula of an acid always start with H or the hydronium ion. It has to end with an anion. As acids, these compounds are named starting with the prefix "hydro-," then adding the first syllable of the anion, then the suffix "-ic." Hope this answers the question.