X and Y are the mid-points of AC and AB respectively