According to HL theorem(hypotenuse leg theorem) in a right triangle if hypotenuse and one side of triangle are congruent to the hypotenuse and one side of other triangle then these two right angle triangles are congruent.
As shown in figure GK is the perpendicular bisector of JH.