In the first picture is example of triangle congruence so that u can understand..
∆DEF ≈ ∆YXZ - Line EF ≈ XZ
( second pictures )
If two sides and the included angle of one triangle are equal to the corresponding sides and angle of another triangle, the triangles are congruent.