P varies jointly as q and r is written as.