d/dx (a^x) = a^x * ln(a)
You can use this, and the chain rule as well. Normally, solving an implicit differentiation (where you don't have y by itself alone on one side of the equation) can lead to some complications later, but in this case, the derivative of ln(y) is 1 / y, so it works out pretty well.