then the value of p and q are