If XC = CY then C is the midpoint of XY

Yes.