Apply change of variables to the expression you have. You deduced that: $$\int_X f^p d\mu =\int_{[0,+\infty)} \mu(\\{x\in X: f(x)^p>t\\}) d\mu_t,$$ where $\mu(\\{x\in X: f(x)^p>t\\}=\mu(\\{x\in X: f(x)>t^{1/p}\\}$. Now substitute $t\mapsto t^p$ and the result follows because the derivative of this map is $pt^{p-1}$.