Hello manikHere's the diagram showing the velocities.

Use the Cosine Rule to find the magnitude of the velocity of Q relative to P.

Then find the component of this velocity in a North-South direction (indicated by the dotted line on the diagram).

From this you can work out the direction of this velocity, and how long it takes before Q is East of P.

Can you complete it now?

Grandad