Let $\triangle{XOY}$ be a right-angled triangle with $m\angle{XOY}=90^\circ$. Let $M$ and $N$ be the midpoints of the legs $OX$ and $OY$, respectively. Given $XN=19$ and $YM=22$, find $XY$. $\textbf{(A)}\ 24\qquad$ $ \textbf{(B)}\ 26\qquad$ $ \textbf{(C)}\ 28\qquad$ $ \textbf{(D)}\ 30\qquad$ $ \textbf{(E)}\ 32$
Let $\triangle XOY$ be a right-angled triangle with $m\angle XOY=90^\circ$. Let $M,N$ be the midpoints of legs $OX,OY$, respectively. Given $XN=31$ and $YM=22$, find $XY$.