They made shoulder pieces for it, attached to two of its corners, so it could be joined together.
He joined five of the curtains to one another, and the other five curtains he joined to one another.