The trigonometric identity is .
Consider .
Apply sum formula for the cosine function: .
Substitute and .
.