In rectangle $PQRS$, $PQ=10$ and $QR=6$. Points $A$ and $B$ lie on $\overline{PQ}$, points $C$ and $D$ lie on $\overline{QR}$, points $E$ and $F$ lie on $\overline{RS}$, and points $G$ and $H$ lie on $\overline{SP}$ so that $AP=BQ<5$ and $CQ=DR<3$. The convex octagon $ABCDEFGH$ is equilateral. Its side length can be written as $k+m\sqrt n$, where $k$, $m$, and $n$ are integers and $n$ is not divisible by the square of any prime. What is $k+m+n$?