Eliphaz, Bildad, and Zophar are men's names. Teman was a city in Edom. Shuhites are the decedents of Abraham and Keturah. Naamah was a city in Canaan. (See: [[rc://en/ta/man/translate/translate-names]])
Here the words "mourn with" and "comfort" share similar meanings. The friends try to comfort Job by mourning with him. AT: "to grieve with Job in order to help ease his suffering" (See: [[rc://en/ta/man/translate/figs-doublet]])