(Hint: don't look for the curve, just examine the distance between them and how it changes with time)

I'll try (again) to find the equation for the path in a bit.
Edit: I thought I'd include the last equation I got, but kept failing to verify. So I don't know it if is correct.