solve for the constant of variation if p varies jointly as q and r and p=4 when q=6 and r=3