Complex sentence: The Heavenly Stems were the names of the ten suns and were found in the kings' of the Shang given names.
Split into simpler sentences: The Heavenly Stems were the names of the ten suns. The kings of the Shang had characters of the Stems in their given names.