Source: How to find square roots
Imagine you have a square of area $x$. The first estimate of the side length is about $\lfloor\sqrt x\rfloor$, sounds reasonable?
But then that's an underestimation of that side length, because the estimated $\lfloor\sqrt x\rfloor\times\lfloor\sqrt x\rfloor$ square $\square$ is missing an L-shaped region $\blacksquare$, whose area is $\left(x-\lfloor\sqrt x\rfloor^2\right)$!
$$\left.\begin{array}{ccccccc}
\square&\square&\square&\square&\square&\square&\blacksquare\\
\square&\square&\square&\square&\square&\square&\blacksquare\\
\square&\square&\square&\square&\square&\square&\blacksquare\\
\square&\square&\square&\square&\square&\square&\blacksquare\\
\square&\square&\square&\square&\square&\square&\blacksquare\\
\square&\square&\square&\square&\square&\square&\blacksquare\\
\blacksquare&\blacksquare&\blacksquare&\blacksquare&\blacksquare&\blacksquare&\blacksquare\\
\end{array}\quad\right\}\sqrt{x}=\lfloor\sqrt x\rfloor^2+\ldots?$$
Then the next estimate is to pretend that the L-shaped region is just two $\lfloor\sqrt x\rfloor\times\left( \frac{x-\lfloor\sqrt x\rfloor^2}{2\lfloor\sqrt x\rfloor}\right)$ rectangles. This give an over-estimated side length of the square
$$\begin{align*}
l &= \sqrt{x}\\
&\approx \lfloor\sqrt x\rfloor+\frac{x-\lfloor\sqrt x\rfloor^2}{2\lfloor\sqrt x\rfloor}
\end{align*}$$