Regard all the fields as subfields of the algebraic closure of K (or K(X)). More precisely, choose an algebraic closure of K and form $k^{1/p}$ inside of it.