This is definitely an easy question compared with other 600-700 level Qs.
In his experiments with gravity, Isaac Newton showed how the motion of each planet in the solar system results from the combined gravitational pull of the Sun and of all the other planets, each contributing according to their mass and distance from the others.
(A) of all the other planets, each contributing according to their
of all the other planets- Of may or not be required . We can remove 'of' . each - each planet(singular)-their (Plural) - Wrong comparison. A is Out
(B) of all the other planets, with each of them contributing according to their
each(singular) - prepositional phrase - their(plural) . B is out
(C) all the other planets, each of which contributing according to its . Keep C
(D) all the other planets, each contributing according to its. Keep D
(E) all the other planets, each of which contribute according to their
each(singular), their (Plural)
We come down to C and D easily .
Between c and D , I prefer D to C for the reason that C has an issue with the formation of the sentence. Each is an antecedent of planet. So, each of 'which' is not required here. Which refers back to what ? each of planets - wrong usage.
C is straight and does not have any issue. So, C is the right answer