We have the expression:

Let's work first with the numerator. We have that we can write cos2x like this:

doing this substitution we get the following:

Now that we have these two factors, we can use them on the original identity to get:

therefore, the resulting identity is 2sinx+1