Differentiating formulas needed

dy/dx=d/dx nxn-1