Two men a and b walk from p to q, a distance of 21 km at 3 km/h and 4 km/h respectively. b reaches at point q and returns immediately and he meets a at point r. find the distance from p to r.