Because the triangles are similar, Angle C would be the same as angle G which is 85 degrees.
Angle X would be 180 - 50 - 85 = 45 Degrees.