let q(x) and f(x) be relatively prime and elements of F[x] where F is a field. Let q(x) and f(x) be relatively prime. Let q(x)|f(x)g(x). Prove q(x)|g(x)(Headbang).

I dont know where to start guys. I know there gcd =1 obviously. Maybe it has something to do with their degrees?? I dont know! BIG HELP PLEASE!!