A person has to walk 150 m to go from position X in the north of east direction to reach y and then to the west of Y to reach finally at position Z. The position Z is situated at the north of X and at a distance of 75 m from X. Find the distance between X and Y.