Two hypothetical planets of masses $m_{1}$ and $m_{2}$ and radii $r_{1}$ and $r_{2},$ respectively, are nearly at rest when they are an infinite distance apart. Because of their gravitational attraction, they head toward each other on a collision course.
(a) When their center-to-center separation is $d$, find expressions for the speed of each planet and for their relative speed. (b) Find the kinetic energy of each planet just before they collide, taking $m_{1}=2.00 \times 10^{24} \mathrm{kg}, m_{2}=8.00 \times 10^{24} \mathrm{kg}$ $r_{1}=3.00 \times 10^{6} \mathrm{m},$ and $r_{2}=5.00 \times 10^{6} \mathrm{m} .$ Note: Both the energy and momentum of the isolated two-planet system are constant.