Complex sentence: These masses can only be determined by actual observations of the planets to see where and how they deviate from the predicted positions and then to redo the calculations with adjusted masses.
Split into simpler sentences: These masses can only be determined by actual observations of the planets. To see where and how they deviate from the predicted positions and then to redo the calculations with adjusted masses.