Given:


Since R is the midpoint of the line, we can set XR equal to RY and solve for x.





Now we know what x is. We can plug in x to RY and XR and then add it all together to find XY. Let's find XR:


Let's find RY now:



Since we know that:

We can plug in our answers:

Final answer:
