To solve the problem, let's analyze the given system of linear equations and the conditions for them to have a unique solution or no solution:
| x | y | z | |
|---|---|---|---|
| 1 | 1 | 1 | |
| 1 | 2 | 3 | |
| 1 | 3 | \(\lambda\) |
Thus, the correct answer is: \(p = \frac{5}{6}\) and \(q = \frac{5}{36}\).