Complex sentence: On the way, Mary has an idea: she removes her pants from under her dress and gives them to the Aborigine in hopes of clothing him.
Split into simpler sentences: On the way, Mary has an idea. She removes her pants from under her dress and gives them to the Aborigine in hopes of clothing him.