Check the picture below.
and let's not forget that the midsegment of a triangle is always half its parallel base.
[tex]\stackrel{midsegment}{AB}=\cfrac{\stackrel{base}{QS}}{2}\implies 16=\cfrac{QS}{2}\implies 32=QS[/tex]