If you are familiar with the trapezoid rule for integration, you can use it to approximate
$\ln 4 =\int_1^4(dx/x)$
Since $f(x) =1/x$ has a positive second derivative everywhere, the piece wise linear function you use to approximate it will lie above the curve, so the numerical integral value you achieve will be an upper bound.
Calculating with six equal intervals, each having width $1/2$, is convenient because then the function values you put into the trapezoid-rule formula will have the form $2/(1+k)$ for whole numbers $k$, which tends to keep denominators relatively small. You eventually get $787/560$ as your upper bound for $\ln 4$. Then $787^2=619369$ versus $2×560^2=627200$, so $(787/560)^2<2$ and the claim is proved.
If you render $\ln 4=2\ln 2$, you can make the calculations simpler. In this case the integral
$\ln 2 =\int_1^2(dx/x)$
would be approximated with the trapezoid rule using just three intervals, which gives an upper bound of $7/10$ (again the second derivative is positive, so the trapezoid rule gives an upper bound). In this method we then have $\ln 4<7/5$ and $(7/5)^2=49/25<2$.