Solve the following math problem step by step. The last line of your response should be of the form Answer: \boxed{$Answer} where $Answer is the answer to the problem.

<image>If XM = 4, XN = 6, and NZ = 9, find XY.