Looks good to me.
The integral of tan(y) is given in the formula booklet, I believe (to derive it, write tan(y) in terms of sin(y) and cos(y) and play around but there's no need for this question).
You can write the right hand side as x sec^2x and use by parts to integrate that.
Firstly, sin2x = 2sinxcosx, not 1/2.
When you fix that, you may wish to have a look at the RHS again for the bit quoted above. Did you mean
21sin2x ? If so, how did you get from the first line to the second as that's not correct?
Or for the RHS, did you mean
2sin2x1 ? If so, you can write that as
21csc2x which you can integrate.
To integrate the LHS though, think of the double angle formulae and how else you can re-write it.