Complex sentence: The bolt's rearward motion extracts the empty cartridge case from the chamber, and as soon as the neck of the case clears the barrel extension, the bolt's spring-loaded ejector forces it out the ejection port in the side of the upper receiver.
Split into simpler sentences: The bolt's rearward motion extracts the empty cartridge case from the chamber. As soon as the neck of the case clears the barrel extension, the bolt's spring-loaded ejector forces it out the ejection port in the side of the upper receiver.