Complex sentence: Boys and girls were separated, with females staying with their mothers and males living in the men's house, where prostitutes were often present.
Split into simpler sentences: Boys and girls were separated, with females staying with their mothers. Young males lived in the men's house, where prostitutes were often present.