How did the roles of women and girls change over time in two different societies?