find the speed of P and Q.