square root of [2+(square root of 1+k)]=square root of 5. Solve for k

You keep changing the question.

now we have

√(2 + √(1+k) ) = √5
square both sides
2 + √(1+k) = 5
√(1+k) = 3
square again

1+k = 9
k = 8