The derivative of the left hand side with respect to x requires differentiating and with respect to x.
1. The derivative of with resepct to x is
2. The derivative of with resepct to x is
for appropriate values of a.
Note also that you get the derivative of xy by using the product rule .....