The trigonometric equation is
.
Apply reciprocal identity :
.

.
and
.
First solve
.

The general solution of
is
, where
is an integer.
The general solution is
.
Now solve
.
.
The general solution of
is
, where
is an integer.
The general solution is
.
The solutions are
and
.