P varies jointly as q and r and p=60 when q=5 and r=6