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