Given information in the diagram: In yellow
Congruent angles
Congruent sides
Vertical angles: (in blue) Pair of opposite angles made by intersecting lines.
Then, you have two pairs of angles and the side contained between those angle that are cpongruent. ASA rule of congruence
vertical angles are congruent, so by ASA, the two triangles are congruent