intersects at + or - 1
so integral would be
after reducing, I got
Don't know how to find anti derivative from here...
Personally, I don't know why you have that final line. It's unnecessary and also wrong. Just use the second last line (after fixing an obvious error in it) ....