H e joined five curtains to each other. And the other five curtains he joined to each other.
He joined five curtains to one another and the other five curtains he joined to one another.