First you'll need to understad what Perpendicular Bisector Theorem is:
The Perpendicular Bisector Theorem states that a point is on the perpendicular bisector of a segment if and only if it is equidistant from the endpoints of the segment.
so X=45 degrees
and Y= 90 degrees
I'm not sure about X
but I hope this helps
:D
From Kenny