There is one angle and an adjacent side of the triangle given equal to corresponding angle and side of the other triangle and if we observe the figure we can see that there's also a adjacent side XY common in both the Triangles.
Hence, the two triangles are congruent by SAS congruency criteria.