H e joined five curtains to each other. And the other five curtains he joined to each other.
Cinco cortinas las unieron una con la otra, y lo mismo hicieron con las otras cinco cortinas.