Solve $\sqrt{1 + \sqrt{1-x^{2}}}\left(\sqrt{(1+x)^{3}} + \sqrt{(1-x)^{3}} \right) = 2 + \sqrt{1-x^{2}} $ Solve $$\sqrt{1 + \sqrt{1-x^{2}}}\left(\sqrt{(1+x)^{3}} + \sqrt{(1-x)^{3}} \right) = 2 + \sqrt{1-x^{2}} $$


My attempt:
Let $A = \sqrt{1+x}, B = \sqrt{1-x}$ and then by squaring the problematic equation we get:
$$(1+AB)(A^{3} + B^{3})^{2} = (AB)^{2} + 4AB + 4 $$
$$ A^{6} + B^{6} + BA^{7}  + A B^{7} = -2 (AB)^{4} - 2(AB)^{3} + (AB)^{2} + 4AB + 4 $$
I also have tried using$A = (1+x), B = (1-x)$ , and some others, but none solves the problem.


I am now trying $A = (1+x)$ and $(1-x) = -(1+x) + 2 = 2 - A$, so: 
$$\sqrt{1 + \sqrt{A(2-A)}}\left(\sqrt{(A)^{3}} + \sqrt{(2-A)^{3}} \right) = 2 + \sqrt{A(2-A)} $$

First, this is stated as an equation to solve (for $x$) rather than an identity to be shown.
So with $a=\sqrt {1+x}$ and $b=\sqrt {1-x}$ we have $$a^2+b^2=2$$ and $$(a+b)^2=a^2+2ab+b^2=2(1+ab)$$ and $$a^3+b^3=(a+b)(a^2-ab+b^2)=(a+b)(2-ab)$$
Then $$\sqrt {1+ab}\cdot (a^3+b^3)=\frac {\sqrt 2}2(a+b)(a+b)(2-ab)=\sqrt 2(1+ab)(2-ab)$$
If we then put $c=ab$ the equation to solve is then $$\sqrt 2(1+c)(2-c)=2+c$$ which is a straightforward quadratic in $c$. Then solve for $x$ by noting $c^2=1-x^2$
