I have solved the problem and obtained the value of the integral $2\pi/3-\sqrt{3}/2$.
In the actual solution of this problem I have seen that $x$ was substituted by $2\sin z$ and upper limit $1$ was substituted by $\pi/6$ and lower limit $-1$ by $-\pi/6$.
Now the question is why was the upper limit substituted by $\pi/6$ instead of $5\pi/6$ or anything equivalent to $\arcsin\tfrac12$?