Step 1:
\(1)
\The function is
.
Simplify the function.
\
Apply derivative on each side with respect to x.
\
Use sum and difference rule of derivative :
.

Use power rule of derivative :
.
Use constant rule of derivative :
.

Step 2:
\(2)
\The function is
.
Apply derivative on each side with respect to x.
\
Use sum rule of derivative :
.

Use constant rule of derivative :
.
Use exponential function of derivative :
.

Solution :
\(1)
.
(2)
.