(a)
\The integral is
.
Apply reduction formula:
.
In this case
.




Apply double angle formula:
.

.
.
(b)
\The integral is
.
Apply reduction formula:
.
In this case
.


From part (a) substitute
.

, where
is a constant.
.
(a)
.
(b)
.