I am trying to solve the following exercise of Dummit and Foote Book(page # 551).
Let $a>1$ be an integer. Prove for any positive integers $n,d$ that $d$ divides $n$ if and only if $a^d-1$ divides $a^n-1$. Conclude in particular that $\mathbb{F}_{p^d}\subseteq\mathbb{F}_{p^n}$ if and only if $d$ divides $n$.
I did the first part and I know that for all $\alpha\in \mathbb{F}_{p^d}$, $\alpha^{p^d}=\alpha$. How can I apply the first part for the second? Any help is greatly appreciated. Thank you.