If P varies directly as QR and the values of P,Q,R be 6,9,10 respectively then the value of P when Q=5 and R=3 is: