I'm studying Unique Factorization Domain (UFD) and there's a lemma in my textbook stating that:
In polynomial ring $A[x]$ with $A$ is a UFD, if $g$ is a primitive polynomial and divides $af$ ($a\in A$), then $g$ divides $f$.
Here is the proof given in my textbook: Since $g|af$, hence $af=gh$ with $h\in A[x]$. Let's write $$f=c(f)f_1, h=c(h)h_1$$ with $f_1,h_1$ are primitive polynomials, $c(f)$ is GCD of all coefficients in $f(x)$. And we have $$ a.c(f)f_1=c(h)gh_1.$$ According to Gauss's lemma, we deduce that $gh_1$ is a primitive polynomial. Hence, $gh_1$ is associated with $f_1$. So $g|f_1$, which means that $g|f$.
I don't understand why from $gh_1$ is a primitive polynomial, we conclude that $gh_1$ is associated with $f_1$? Can someone explain for me?