$f\in A[x]$ is a zero divisor if and only if there is $a\neq 0\in A$ with $a\cdot f=0$
One direction is trivial. The other direction I find the hint confusing. It says we should choose a zerodivisor $g$ of $f$ with a minimal degree. We write $f=\sum^n a_ix^i$ and $g=\sum^m b_j x^j$. Then all the coefficients of $fg$ are zero. In particular the highest degree coeeficent is zero, $a_nb_m=0$. By assumption then $a_ng$ must be zero since it has a degree less than $g$ and it annihilates $g$.
Then the hint says to use induction on $a_{n-r}$. Are we inducting on $r$? It is also not clear to me how to result follows from this?
This question is not a duplicate of Zero divisor in $R[x]$ as I am specifically asking how to use the hint and do this problem with the induction.