Complex sentence: The lunar module had a third means of navigation, the Abort Guidance System (AGS), built by TRW, to be used in the event of failure of the PGNCS.
Split into simpler sentences: The lunar module had a third means of navigation, the Abort Guidance System (AGS), built by TRW. This was to be used in the event of failure of the PGNCS.