(notice: not, xsec^2xtan^x)
Substituting ? Not good. The dy will have a nasty expression !
Substituting ? Not bad... But it would be something weird though
Another method ? Why not ?
Going back to the integral :
Do you see any simplification with the red parts ??
Edit : you could have substituted , but it doesn't matter, you got it