While all of them will work in this problem, the one in the middle, with the -1, will work well in our numerator with its +1:
The +1 and -1 cancel:
The factors of 2 (in front) will cancel:
The cos(x) in the denominator will cancel with one of the two factors of cos(x) in the numerator:
which is equal to: