A town P is 150km from a town Q in the direction 050o. What is…