They're 3:4:5 right triangles. The sides are 6 and 8 so the hypotenuse is 10. Times 2 = 20.

No square roots required. :-)

Cheers,
Scott.