The polynomial f(x) is divided by the polynomial d(x) to give a quotient of q(x) and a remainder of r(x). If \(\deg f = 9\) and \(\deg r = 3\), what is the maximum possible value of \(\deg q\)?
The answer is 12.