Given a power function of the form $f(x)=ax^n$, with $f'(2) = 12$ and $f'(4) = 24$, find $n$ and $a$.

$n =$

$a =$

You can earn partial credit on this problem.