how do you know if an triangle is congruent by HL

In order to determine if two triangles are congruent using the HL (Hypotenuse-Leg) criterion, you need to check if these two conditions are satisfied:

1) The lengths of the hypotenuses of the triangles are equal.
2) The lengths of one of the legs of the triangles are equal.

If both of these conditions are met, then the triangles are congruent.

For example, let's consider two right triangles: Triangle ABC and Triangle XYZ.

1) If the length of AC (the hypotenuse of Triangle ABC) is equal to YZ (the hypotenuse of Triangle XYZ), then the first condition is met.
2) If the length of AB (one of the legs of Triangle ABC) is equal to XY (one of the legs of Triangle XYZ), then the second condition is met.

If both conditions are satisfied, then the two triangles ABC and XYZ are congruent by HL.