How to prove :
$$f(x) \mid g(x) \Rightarrow f(x^k) \mid g(x^k)$$
Hint: By the definition, $f(x) \mid g(x)$ if and only if there is a polynomial $h(x) $ such that $g(x) = f(x) \times h(x)$.
So, the initial condition in the question tells us that we have a $h(x)$ such that $g(x) = f(x) \times h(x)$.
Can you think of a polynomial $H_k(x)$ such that $g(x^k) = f(x^k) \times H_k(x)$? How does $H_k(x)$ relate to $h(x)$?