you are only wasting my time if you're letting me do your homework for you, otherwise, if you're actually trying (and learning) i am more than happy to help.
there are two things you must consider:
$\displaystyle \cos x = - \frac 12$
and
$\displaystyle \cos x = 1$
$\displaystyle x = 45^o$ is not a solution to either of those equations. and by the way, we think of angles to be in radians when doing calculus, unless otherwise stated.
think of the graph of cosine, think of the special angles and think of the quadrants in which the reference angles of the special angles appear and try again
$\displaystyle \cos x = - \frac 12$
$\displaystyle \Rightarrow x = \frac {2 \pi}3 + 2 n \pi$ for $\displaystyle n \in \mathbb{Z}$ or $\displaystyle x = \frac {4 \pi}3 + 2n \pi$ for $\displaystyle n \in \mathbb{Z}$
$\displaystyle \cos x = 1$
$\displaystyle \Rightarrow x = 2n \pi$ for $\displaystyle n \in \mathbb{Z}$
now choose the angles that fall into the region you want