The point X divides QR into 2 pieces which are in proportion to the other sides.
XR/10 = XQ/9 = (17-XR)/9...this gives you XR
Use the law of cosines in the original triangle (PQR) to find angle PRQ
Then XY = XR * sin angle PRQ
Sorry to have been delayed in completing the answer!