I am trying to simplify the expression

The cosine and sine functions can be reduced modulo , right? So I wrote this as

after subtracting from each of the arguments. But checking this equality with my calculator I get something different. What am I doing wrong?