A spaceship is travelling directly towards a planet at speed 0.5c, and fires a missile at the planet with speed 0.5c. The missile has an internal timer which starts after firing and triggers an explosion after one second. At what distance from the planet should the ship fire the missile such that it explodes upon impact? How do I solve this? Any hints?