Complex sentence: If mating is successful, the female will begin to lay its eggs and build an eggsack out of silk, which she will use to carry her young in.
Split into simpler sentences: If mating is successful, the female will start to lay the eggs. When she lays them, she builds an eggsack out of silk, which she will use to carry her young in.