Expressing variable q in terms of p. Where p and q are contents in a quadratic. Suppose that $p$ and $q$ are constants such that the smallest possible value of $x^2+px+q$ is $0$. Express $q$ in terms of $p$.
I am unsure what it is asking. I feel it is asking something very simple. However I am unsure of what it is. Any solutions or walk-throughs would be appreciated.

Hint: Apply  completing the square
$$x^2+px+q=\left(x+\frac{p}2 \right)^2-\frac{p^2}{4}+q$$
