The function is
.
Apply Log Rule for Integration:
.
.
.
(a) If
, then find
.
Substitute
.
.
, then
.
(b) If
, then find
.
Substitute
.
Apply exponential on each side.
\
.
, then
.
(a)
, then
.
(b)
, then
.