I missed the lecture. I don't want you to solve my homework, I just want to learn how to solve equations like this one. Since I have no idea, I'll post the task I got for homework, rather than obfuscating it beyond recognition. Please give general directions on how to solve equations like this one.
$$\cos(5\alpha + \pi/2) = \cos(2\alpha + \pi/8)$$