As I said in the OP, if you are just talking about two ships, or two groups of ships, and they are flying either directly away or directly towards each other, and there are no other complications, there is no maths beyond tracking a velocity. I would abstract it if it got any more complicated.