Captain Kirk’s starship leaves Earth for Planet X at the same time Marvin the Martian’s starship leaves Planet X for Earth. Each ship travels at a constant velocity, but one is faster than the other. After meeting and passing, Kirk requires 22.5 hours to reach Planet X, while Marvin requires only 10 hours to reach Earth. Exactly what total time did each starship require for its interplanetary journey? Assume stationary planets.
Credit for this problem goes to Cliff Pickover