Complex sentence: The pirates set out for the treasure, but when they reach the spot, they find only a few coins.
Split into simpler sentences: The pirates set out for the treasure. When they reach the spot, they find only a few coins.