The trapezoids LMNK and LMAB are simillar, which means that their sides are related by the same ratio. With this we can form the following equation:

We need to solve for x.

Now we have to find the roots of the quadratic equation.
![\begin{gathered} x=\frac{-(-244)\pm\sqrt[]{(-244)^2-4(36)(289)}}{2\cdot36} \\ x=\frac{244\pm\sqrt[]{17920}}{64} \\ x=(244\pm133.87)/(64) \\ x=(244+133.87)/(64)=5.9 \\ x=(244-133.87)/(64)=1.72 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/svgbbhdibh5jcaqekxvwclakzmosuhfsn0.png)
Therefore the midsegment is equal to:

Since the length can't be negative, the correct result is 20.4.