Draw the line passing through point $Q$ and parallel to edge $PS$ and let that line intersect the line $SR$ at point $N$ (see picture). Then $PQNS$ is a parallelogram because edge $SN$ is parallel to edge $PQ$ and edge $PS$ is parallel to edge $QN$. Consequently, the intersection point of the diagonals $PN$ and $QS$ is the midpoint of $QS$ (and $PN$), which is point $Y$. Furthermore, $XY$ is a mid-segment in triangle $NPR$ parallel to $RN$ and half of its size. This means that $XY$ is parallel to $PQ$, because $PQ$ is parallel to $RN$, and $XY = \frac{1}{2} RN$. However, $RN = SN - SR$ and since $SN = PQ$ we get
$$XY = \frac{1}{2} (PQ - SR) \,\,\, \text{ as well as } \,\,\, XY \, || \, PQ$$
