I assume the first expression has a typo, and should be

please confirm.

for the second expression ...

let , and you should already know that

using the sum identity for cosine ...

since , then and

sub these values into the sum expression above ...