From a point P, Q is 5km due West and R is12km due South of Q. Find…