1. On a point of notation, your D = x. I would consolidate to one symbol.
2. The reason your answer to b) is incorrect is because you used the same distance between the two ships as in part a). They're probably not going to be the same distance apart, are they? Find out where the ships are, and re-compute your D. See what that gives you.