We are given that in a circle AB is a diameter and HG is a chord that intersects AB at point X. Let's sketch a possible diagram of this situation.
Now let's recall that if a diameter of a circle is perpendicular to a chord, then it bisects the chord and its arc. This means that HX=XG only if AB is perpendicular to HG. Therefore HX and XG are sometimes congruent.