First, let, $a^2 \leq n<(a+1)^2$, as before.
Now, suppose, $n=a^2+z$, and furthermore, $\sqrt{n}=a+f_1$ and $\sqrt{n+1}=a+f_2$, where, $f_1$ and $f_2$ are the fractional parts of $\sqrt{n}$ and $\sqrt{n+1}$ respectively.
Case 1:$0<z \leq (a-1)$
Case 2:$(a+1) \leq z<(2a+1)$
Case 3:$z=a$
Case 1:
If $0<z \leq (a-1)$, then, $\sqrt{n}=\sqrt{a^2+z} \leq \sqrt{a^2+a-1} \leq\sqrt{(a+ \frac{1}{2})^2- \frac{5}{4}}<\sqrt{(a+\frac{1}{2})^2}=a+\frac{1}{2}$
Similarly, $\sqrt{n+1} \leq \sqrt{a^2+a}\leq\sqrt{(a+ \frac{1}{2})^2-\frac{1}{4}}<a+\frac{1}{2}$
So, $\left \lfloor \sqrt{n}+\sqrt{n+1} \right \rfloor<a+\frac{1}{2}+a+\frac{1}{2}=2a+1$
Now,\[\left \lfloor \sqrt{n}+\sqrt{n+1} \right \rfloor=\left \lfloor \sqrt{(a^2+z)}+\sqrt{(a^2+z+1)} \right \rfloor=\left \lfloor a+f_1+a+f_2 \right \rfloor=2a+\left \lfloor f_1+f_2 \right \rfloor\]
Therefore, $\left \lfloor \sqrt{n}+\sqrt{n+1} \right \rfloor \geq 2a$
Combining these two, we have,\[2a\leq\left \lfloor \sqrt{n}+\sqrt{n+1} \right \rfloor<2a+1\]
which implies that, $\left \lfloor \sqrt{n}+\sqrt{n+1} \right \rfloor=2a$
On the other hand, $\sqrt{4n+2}=\sqrt{4a^2+4z+2}\leq\sqrt{4a^2+4a-2}\leq\sqrt{(2a+1)^2-3}<\sqrt{(2a+1)^2}=2a+1$
Again, \[\left \lfloor \sqrt{4n+2} \right \rfloor=\left \lfloor \sqrt{(2a)^2+4z+2} \right \rfloor>\sqrt{(2a)^2}=2a\]
So, on the right hand side, we have,\[2a<\left \lfloor \sqrt{4n+2} \right \rfloor<2a+1\]
Therefore, $\left \lfloor \sqrt{4n+2} \right \rfloor=2a$, and, we have equality.
Oh! Finally finished Latexing.