Leg-Leg congruence: If the legs of a right triangle are congruent to the corresponding legs of another right triangle, then the triangles are congruent.
For the given triangles: Congruence is marked in the figure with the number of marks in each leg
As the two given triangles have corresponding legs congruent, they are congruent by Leg-leg congruence