Okay, I've finished this but i'll let you have ago first. You need to rearrange into a quadratic equation =0
You can then solve it - i used the quadratic formula.
It's not really homework, but it's part of a solution for working out the minimum cation-anion radius ratio for a coordination number of 8. It's just that I can't see how to get from the first line to the second line.
Surely the easiest way is as follows:
Since (2a X Sqrt(2))^2 + 4a^2 =12a^2 then
12a^2=(2a+2b)^2 and so
+/-2 x sqrt(3)=2a+2b (notice there are 2 solutions)and so the 2 solutions are
2b=2a(sqrt(3)-1) and 2b=-2a(sqrt(3)+1)
If a is positive then the first answer for b is positive and the second negative and vice versa.