Note that we want $\mathbb{F}_p[a] \cong \mathbb{F}_p[b]$ as subfields of $K$.
I was trying to solve the problem by first noting that $|K|=p^n$ for some $n\in \mathbb{N}$. Then I wanted to count the elements in both $\mathbb{F}_p[a]$ and $\mathbb{F}_p[b]$ and show that they are the same (at that point it must follow they are isomorphic as subfields of $K$). However, I can't seem to use the fact that they are elements of the same order in the group of units. I know that if $a,b\in K^\times$ then they are roots of the polynomial $x^{p^n - 1}$ and so their order must divide $p^n-1$. Is there a better way to approach this problem?