How to derive Hill equation (one specific part)
In your second step $(K_d)^n$ should be $(K_A)^n$.

Where: 


$K_d$ is the apparent dissociation constant and  
$K_{A}$ is the ligand concentration that results in half occupation


See for example the relevant wikipedia article.