Step 1 :Square both sides of the equation: \(\left(\sqrt{4+\sqrt{16+16a}}+\sqrt{1+\sqrt{1+a}}\right)^2 = 6^2\)
Step 2 :Solve for a: \(\boxed{a = 8}\)