Neither is right. The understood subject of the nonfinite clause must be the same as for the main clause, but you don't supply enough text to make that clear. Do something like this: Based on the data, their calculations demonstrated to the astronomers that the two planets have intersecting orbits.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.