A and B start simultaneously from P and Q respectively towards Qand O. After reaching their destinations, they immediately turned back and travelled to their respective starting points. In this process, they met for the first time at a point 18 km from Q and for the second time at a point 15 km from P. If the speed of A is more than twice the speed of B, what is the distance between P and Q?