P = 2xy\\
Q = x^2 + lnz\\
R = \frac{y + 2}{z}