you need to be able to prove that a^kx differentiates to a^kx (k lna), to do this take ln of a^kx and then raise e to the power of ln a^kx, because the e and the ln cancel each other out, then use the power rule to write e^(lna^kx) as e^(kx lna) then use the fact that e^kx differentiates to k(e^kx) to differentiate e^(kx lna) to get (k lna)e^(kx lna), use the power rule to rewrite this as (k lna)e^(lna^kx), then use the fact that e and ln cancel out to get a^kx (k lna)