Complex sentence: Charmain's ambition is to become a librarian and she gets entangled in this mystery when she comes to aid the king in sorting out documents at the royal library.
Split into simpler sentences: Charmain's ambition is to become a librarian. She gets entangled in this mystery when she comes to aid the king in sorting out documents at the royal library.