You are still using the chain rule wrongly. Remember:

The derivative of a quantity raised to the n is n times that original quantity raised to the n1, times the derivative of the quantity.