Let us substitute the given value x =
in the expression, we get
… (1)
Now, substitute the value x =
in the expression, we get
…. (2)
By substituting the value of q in equation (1), we get
Now, substitute the value of p in equation (2), we get
∴ Value of p is
and q is
.