To determine the distance between points X and Y on the opposite sides of a river, a surveyor measures a distance of 300 m between points X and Z, where Z is set on the same side of the river as X. Angle X-YZ is measured to be 85°30 and angle Z-XY is measured to be 35°45. Compute the distance XY.