Determine smallest possible parameter set for FPT
Recall that the runtime must be of the form $f(k) \cdot n^c$ for some constant $c$. So I believe that the exercise is asking, given that all three are at most $n$, which do you have to take as formal parameters in your analysis to achieve an FPT runtime.

So if only $p$ is a parameter, is that FPT? What if only $q$? Clearly, if both are fixed, you have FPT runtime.