[noun] + 同士
Note: The noun describes the shared identity/characteristic (e.g., 友達同士, 日本人同士, 男同士). Often followed by particles で, の, が, etc.
同士 (どうし) is a suffix attached to nouns to express the idea of "fellow ~," "among ~," or "~ with each other." It indicates that two or more people (or things) share the same status, characteristic, or group membership, and that an action or relationship exists between them.
Attach どうし同士 directly after a noun that describes the shared identity or characteristic.
The noun before どうし同士 describes what the people have in common – they are both friends, both Japanese, both students, etc.
While most common with people, どうし同士 can also be used with things or concepts to express a mutual relationship or interaction between items of the same kind.