Statement I gives information about the relative position of city K with respect to city P, but it does not directly help us with the positions of cities M and D.
Statement II tells us that city M is north of city R, which is to the west of city D. This alone does not directly indicate the direction of city M with respect to city D, but when combined with statement I, it becomes possible to infer that city M is located north-west relative to city D.
Thus, both statements are necessary to answer the question.